maven创建项目的时候报错了

来源:5-5 jdk、tomcat、maven配置及初始化web空白项目

ywrookie

2018-05-10

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1:12:58.198s

[INFO] Finished at: Thu May 10 01:02:51 CST 2018

[INFO] Final Memory: 7M/245M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate failed: Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.archetype:archetype-catalog:jar:3.0.1 from/to QunarNexus (http://svn.corp.qunar.com:8081/nexus/content/groups/public): Connect to svn.corp.qunar.com:8081 [svn.corp.qunar.com/10.90.0.49] failed: Operation timed out -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

[ERROR] Maven execution terminated abnormally (exit code 1)



求助下老师,能帮看下这个问题吗?


写回答

2回答

Geely

2018-05-14

同学,把maven仓库你配置了么,改一下 from/to QunarNexus (http://svn.corp.qunar.com:8081/nexus/content/groups/public): Connect to svn.corp.qunar.com:8081 [svn.corp.qunar.com/10.90.0.49] failed: Operation timed out -> [Help 1] 看你的私服地址很奇怪哟。。改成中央仓库吧

或者阿里云的maven仓库

0
1
ywrookie
好的,我回头在配置下,感谢geely老师
2018-05-16
共1条回复

polo哦

2018-05-10

是否按照老师的步骤创建呢~可能中间某一环创建错了

0
1
ywrookie
是啊,我是一步步来的,我在看看
2018-05-10
共1条回复

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9476 学习 · 8804 问题

查看课程