java - 无法创建 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 应用程序的任何教程。
解决方案
“还有在 AWS 中创建 Java Web 应用程序的教程。”
要了解如何使用调用 AWS 服务的 Spring 创建 Java Web 应用程序,我建议您阅读此文档:
PS-我看到您的 Maven 问题已解决-但我会保留此链接以供其他阅读此线程的人使用。
推荐阅读
- firebase - Firebase 托管 - 如何获取当前的 json
- css - 为什么位置:粘性;没有反应?
- python - 如何确定哪个小部件发出了信号
- sql-server - HOWTO:知道哪些记录被恢复到 SQL Server 表中
- java - 为什么我在 Vaadin / SpringBoot 应用程序中使用 @Autowired Repository 获得 NullPointerException?
- algorithm - 反向 LinkedList - 链表实现
- regex - How to remove Unicode characters in Snowflake?
- javascript - 查找文件夹中是否存在图片,如果不存在则渲染库存图像
- git - 可视化 git 分支依赖
- c# - How can I access the .zip file ML.NET creates, when I'm publishing to Google Cloud?