无法创建aws java web项目

xdyibdwo  于 2021-07-15  发布在  Java
关注(0)|答案(2)|浏览(323)

我是amazon webservices的新手,我正在尝试创建aws java web项目,它显示了一个错误,

Unable to create new AWS Java web project.
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 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

任何人请尽快回答为什么我会得到这个maven原型异常,我需要做什么。还有,在aws中创建JavaWeb应用程序的教程。

tzcvj98z

tzcvj98z1#

“还有在aws中创建java web应用程序的教程。”
要了解如何使用spring创建调用aws服务的java web应用程序,建议您阅读以下文档:
创建第一个aws java web应用程序
ps-我看到你的maven问题已经解决了-但是我会保留这个链接让其他ppl阅读这个帖子。

fkaflof6

fkaflof62#

关闭eclipse、删除.m2存储库并打开eclipse解决了这个问题。

相关问题