请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

maven创建项目的时候报错了

[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回答

同学,把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 回复 有任何疑惑可以回复我~
  • 提问者 ywrookie #1
    好的,我回头在配置下,感谢geely老师
    回复 有任何疑惑可以回复我~ 2018-05-16 15:18:14
polo哦 2018-05-10 09:08:38

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

0 回复 有任何疑惑可以回复我~
  • 提问者 ywrookie #1
    是啊,我是一步步来的,我在看看
    回复 有任何疑惑可以回复我~ 2018-05-10 23:28:26
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信