教程集 www.jiaochengji.com
教程集 >  脚本编程  >  java  >  正文 解决:Could not resolve archetype org.apache.maven.archetypes

解决:Could not resolve archetype org.apache.maven.archetypes

发布时间:2016-10-20   编辑:jiaochengji.com
教程集为您提供解决:Could not resolve archetype org.apache.maven.archetypes等资源,欢迎您收藏本站,我们将为您提供最新的解决:Could not resolve archetype org.apache.maven.archetypes资源
本文章来为各位介绍Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart问题的解决办法,希望下文能够帮助到大家。

装了apache-maven-3.2.3-bin 并做好配置,在eclipse中新建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/
或者国内的镜像

http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/

下载最新版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

即可

您可能感兴趣的文章:
解决:Could not resolve archetype org.apache.maven.archetypes
mysql 安装错误 Could not find ./bin/my_print_defaults解决办法
解决mysql报错ERROR 1201 (HY000):Could not initialize master info structure
Php7.3中could not find driver的解决办法
Could not load type System.ServiceModel.Activation.HttpModule解决办法
JBOSS出现Could not reserve enough space for object heap解决办法
MySQL 出现 Could not initialize master info structure 修复
Mysql主从库不同步1236错误:could not find first log file name in binary...
PDO连接数据报错could not find driver解决办法
php提示Warning: file_get_contents(): couldn’t resolve

[关闭]
~ ~