标签:
Maven 下载好,配置完环境变量,同时在Myeclipse配置好Maven,这时创建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 ,下载maven-archetype-quickstart1.1.jar 包,下载地址:http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.1/
安装:cmd窗口执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar -Dfile=d:\down\maven-archetype-quickstart-1.1.jar
红字是你jar包放在的位置
标签:
原文地址:http://www.cnblogs.com/tengpan-cn/p/5772405.html