maven工程报错解决
- 摘要:Couldnotresolvearchetypeorg.apache.maven.archetypes:maven-archetype-quickstart:RELEASEfromanyoftheconfiguredrepositories.CouldnotresolveartifactMissingorg.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE解决思路:在本地库中装载maven-archetype
- 标签:解决 Maven
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact
Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
解决思路:在本地库中装载maven-archetype-quickstart
1.从http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/
下载最新版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