我在 Eclipse Mare 版本中创建新的 Maven 项目时收到以下错误消息;
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
Failure to transfer maven-archetype-webapp:pom:1.0 from repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central: repo.maven.apache.org
这里有什么问题吗?
最佳答案
看起来您的本地存储库已损坏,请检查以前的解决方案
关于java - 在 Eclipse Mare 中创建项目期间 Maven 出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43451331/