cloud not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:release from any

cloud not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:release from any of the configured repositores.
    Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE

解决思路:在本地库中装载maven-archetype-quickstart


1.下载maven-archetype-quickstart-1.1.jar


2.cmd窗口执行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
 
 也许它会保存找不到maven-archetype-quickstart-1.1.jar 这个时候它报错在那个目录找不到 你就把这文件放到那个目录下

你可能感兴趣的:(cloud not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:release from any)