java - 在 Eclipse Mare 中创建项目期间 Maven 出现问题

标签 java eclipse maven jakarta-ee

我在 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/

相关文章:

java - 对于 double 值,assertEquals 的 delta 或 epsilon 参数的含义

java - 在 Groovy (SoapUI) 中创建属性值列表时,列表会自动排序吗?

java - 将 jardesc 内容翻译成 jar 命令

java - 无法将参数从命令行传递到 Maven 项目。我想传递可以运行测试的服务器 URL

eclipse - 当任务运行完成时,eclipse 可以通知我吗?

java - 如何在 Eclipse 中打开 Java 库系统文件?

java - Maven单独构建打包和Cucumber集成测试

java - 将值设置为Jtable中的JtextField : JAVA

maven - 如何将 jar、源代码和 Javadoc 添加到本地 Maven 存储库?

java - Eclipse Luna 中的 tomcat 8 启动失败 : Error with directory [C:\Program Files\Eclipse\eclipse\lib]