首页 > 其他分享 >Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart

时间:2022-12-25 22:34:50浏览次数:66  
标签:resolve quickstart archetypes maven apache org archetype

 

之前都是命令行创建,今天用eclipse装m2eclipse的时候装完后创建项目的时候报错:

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.

解决方式:

1.从http://maven.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/ 下载最新版maven-archetype-quickstart-1.1.jar
2.命令行到下载目录下执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar -Dfile=maven-archetype-quickstart-1.1.jar


​http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html​

 



标签:resolve,quickstart,archetypes,maven,apache,org,archetype
From: https://blog.51cto.com/u_15147537/5968458

相关文章