Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2

遇到IDEA創建maven項目選擇 maven-archetype-quickstart出現這樣的錯誤。

本次解決方式:模板選擇不對;首先我選擇的市上面本地倉庫中的出現標題所示的錯誤,後來改成後面那個版本的就創建成功了)
在這裏插入圖片描述
報錯信息

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (localRepository.org.apache.maven.archetypes:maven-archetype-quickstart:1.4) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章