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

之前都是命令行创建,今天用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

时间: 2024-12-07 08:17:02

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart的相关文章

eclispe 创建maven 项目:Could not resolve archetype org.apache.maven.archetypes

昨天新装eclispe 后,创建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-quicksta

Maven报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp

郁闷了两天,创建maven项目时,eclipse报错:Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp,详细信息如下图: 此类报错产生的原因分以下两种: 1.Catalog 相关类型缺失:     2.ide下载相关jar包时未能完整下载. 针对以上两种原因的解决方案如下:     1.配置Catalog 在eclipse中,点击window-->preferences-->maven--

解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp

maveneclipse测试 我是使用代理上网的.在创建maven时报以下错误: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories. 解决办法: 首先找到 config/settting.xml 在里面添加代理信息 ----------  这个是重点: <proxies><proxy&g

Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap

使用Eclipse自带的Maven插件创建Web项目时报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASEFai

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

很久用eclipse了,创建maven的quickstart项目时出现错误“Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quick……” emmm,网上看到的方法是下载一个maven-archetype-quickstart-1.1.jar文件,之后执行安装,刚好我本地有一个这样的文件,就将其复制到maven安装目录下的lib目录中,并执行如下的命令 mvn install:install-fil

eclipse创建maven工程出现Could not resolve archetype org.apache.maven.archetypes错误

首先,推荐使用最新版的Eclipse-LUNA(4.4.1).当我创建maven项目时.使用kepler版就会出错.使用luna就没事.不知为何. 今天使用Eclipse创建maven项目时,出现了.如题错误.结果我去网上搜索解决方法时,都说要去下载maven-archetype-quickstart.1.1.jar.其实我在我的maven 本地 repository中就找到了它(在“repository\org\apache\maven\archetypes\maven-archetype-q

解决创建maven项目Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart问题

今天用eclipse创建项目的时候报错如下图: 解决方案: 1.下载最新版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-quickst

使用maven创建工程报错Could not resolve archetype org.apache.maven.archetype

错误: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 解决思路:在本地库中装载maven-archetype-q

maven添加额外archetype

用Eclipse + m2e 插件新建maven项目时发现archetype太少了,网上搜索如何添加额外的archetype. http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html The Archetype Plugin knows by default about its internal catalog. It also knows about the lo