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回答
-
同学,把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仓库
012018-05-16 -
polo哦
2018-05-10
是否按照老师的步骤创建呢~可能中间某一环创建错了
012018-05-10
相似问题