在eclipse中创建maven项目错误的解决方法:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-qu
2017-01-05 14:59
901 查看
当我们在ecipse安装 maven插件后,
(how to install maven plugin named m2eclipse)
You can install the lastest M2Eclipse release (1.7.0) by using the following update site from within Eclipse:
创建maven项目时 会报错如下:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
解决方法参见:http://stackoverflow.com/questions/15506043/create-a-maven-project-in-eclipse-complains-could-not-resolve-archetype
Assuming that you have your proxy settings correct, you may have missed out pointing Eclipse to the intended
This happens often when you have both Maven installed as a snap in, and an external installation outside Eclipse. You need to tell Eclipse which Maven installation it should use, and which settings.xml file it should be looking for.
First check that the settings.xml file contains your proxy settings.
Next, check that the user settings.xml file here contains your proxy settings.(配置全局仓库 和 本地仓库)
If you have made any changes, restart Eclipse.
Bingo, it works great for me at least.
You can install the lastest M2Eclipse release (1.7.0) by using the following update site from within Eclipse:
http://download.eclipse.org/technology/m2e/releases
创建maven项目时 会报错如下:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
解决方法参见:http://stackoverflow.com/questions/15506043/create-a-maven-project-in-eclipse-complains-could-not-resolve-archetype
Assuming that you have your proxy settings correct, you may have missed out pointing Eclipse to the intended
settings.xmlfile.
This happens often when you have both Maven installed as a snap in, and an external installation outside Eclipse. You need to tell Eclipse which Maven installation it should use, and which settings.xml file it should be looking for.
First check that the settings.xml file contains your proxy settings.
Next, check that the user settings.xml file here contains your proxy settings.(配置全局仓库 和 本地仓库)
If you have made any changes, restart Eclipse.
Bingo, it works great for me at least.
相关文章推荐
- eclipse创建maven We项目时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
- 解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:
- 解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:
- 解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp
- Eclipse使用Maven创建项目时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quick
- eclipse创建maven项目,提示错误“Could not resolve archetype org.apache.maven.archetypes .”
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-weba
- eclipse新建maven项目,提示错误“Could not resolve archetype org.apache.maven.archetypes .”
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-weba
- 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-webap
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-w...
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
- 2、Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-web
- eclipse创建maven工程报错 Could not resolve archetype org.apache.maven.archetypes 解决
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
- Eclipse下创建maven项目时出现Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:R
- 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-webap
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap