我是亚马逊网络服务的新bie,我正在尝试创建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原型异常,我需要do.And的还有在aws中创建java应用程序的教程。
发布于 2021-03-26 11:06:14
关闭eclipse、删除.m2存储库并打开eclipse解决了这个问题。
发布于 2021-03-26 12:04:35
“以及在aws中创建java应用程序的任何教程。”。
要了解如何使用调用AWS服务的Spring创建Java web应用程序,我建议您阅读本文档:
PS -我看到你的maven问题已经解决了-但是我会保留这个链接给其他的ppl阅读这个线程。
https://stackoverflow.com/questions/66815439
复制相似问题