简体   繁体   中英

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,

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.

"And also is there any tutorial for creating java web applications in aws."

To learn how to create a Java web application using Spring that invokes AWS Services, I recommend that you read this document:

Creating your first AWS Java web application

PS - i see your maven issues is resolved- but I will keep this link for other ppl reading this thread.

closing the eclipse,Deleting the.m2 repository and opening eclipse has resolved the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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