簡體   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