首页 > 解决方案 > 无法创建 Aws java Web 项目

问题描述

我是 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 中创建 java web 应用程序的任何教程。

标签: javaspringamazon-web-serviceshibernatemaven

解决方案


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

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

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

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


推荐阅读