简体   繁体   English

无法创建 Aws java web 项目

[英]Unable to create Aws java web project

I am new bie to amazon webservices and I am trying to create aws java web project and it is showing an error that,我是亚马逊网络服务的新手,我正在尝试创建 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

Any one please answer soon why I am getting this maven archetype exception,what I need to do.And also is there any tutorial for creating java web applications in aws.任何人请尽快回答为什么我得到这个 maven 原型异常,我需要做什么。还有在 aws.中创建 java web 应用程序的任何教程。

"And also is there any tutorial for creating java web applications in aws." “还有在 AWS 中创建 java web 应用程序的教程。”

To learn how to create a Java web application using Spring that invokes AWS Services, I recommend that you read this document:要了解如何使用调用 AWS 服务的 Spring 创建 Java web 应用程序,我建议您阅读此文档:

Creating your first AWS Java web application 创建您的第一个 AWS Java web 应用程序

PS - i see your maven issues is resolved- but I will keep this link for other ppl reading this thread. PS-我看到您的 maven 问题已解决-但我将保留此链接以供其他阅读此线程的人使用。

closing the eclipse,Deleting the.m2 repository and opening eclipse has resolved the issue.关闭 eclipse,删除 .m2 存储库并打开 eclipse 已解决该问题。

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

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