繁体   English   中英

无法创建 Aws java web 项目

[英]Unable to create Aws java web project

我是亚马逊网络服务的新手,我正在尝试创建 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.中创建 java web 应用程序的任何教程。

“还有在 AWS 中创建 java web 应用程序的教程。”

要了解如何使用调用 AWS 服务的 Spring 创建 Java web 应用程序,我建议您阅读此文档:

创建您的第一个 AWS Java web 应用程序

PS-我看到您的 maven 问题已解决-但我将保留此链接以供其他阅读此线程的人使用。

关闭 eclipse,删除 .m2 存储库并打开 eclipse 已解决该问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM