码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2014-12-24 08:41:58      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

 

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

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

解决方式:

1.从http://maven.oschina.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://blog.csdn.net/afgasdg/article/details/12757433

 

http://www.cnblogs.com/xsi640/p/3758095.html

 

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

 

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

标签:

原文地址:http://www.cnblogs.com/softidea/p/4181542.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!