eclipse maven工程时报错Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
来源:互联网 发布:黑客马拉松编程大赛 编辑:程序博客网 时间:2024/05/02 19:04
在新建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/ 这个我下不了 从csdn下载的,有免费的
下载最新版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
执行这个一直报连接fail,后来想到我把maven代理源换成OSCHINA的了,改成本来的
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ui</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>central</mirrorOf>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</mirror>
再创建maven工程,成功
- eclipse maven工程时报错Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
- eclipse新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- Eclipse新建maven工程出错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstar
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes . 时间 2013
- 新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes
- 新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .
- 新建maven库时,提示Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEA
- 创建maven项目,常见问题(Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart..)
- eclipse创建maven工程报错 Could not resolve archetype org.apache.maven.archetypes
- eclipse创建maven工程报错 Could not resolve archetype org.apache.maven.archetypes 解决
- eclipse创建maven工程报错 Could not resolve archetype org.apache.maven.archetypes-webapp-1.0......
- Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
- Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
- go lang 时间包time
- SQL2008视频总结
- install.packages("simpleaffy") 报错package ‘simpleaffy’ is not available (for R version 3.3.1)
- Centos 7 : NIC NetworkManager & How to change NIC name
- python笔试,面试题
- eclipse maven工程时报错Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
- android Listfragment
- AngularJS中service,factory,provider的区别
- Android Studio2.2导入工程出现UnsupportedMethodException
- JavaScript基础学习笔记(五)——Array类型
- 获取手机屏幕长宽的几种方法
- 修改JAVA_HOME无效,java版本保持不变的问题解决
- 从源代码分析Android-Universal-Image-Loader的缓存处理机制
- 四十自述 - 笔记