码迷,mamicode.com
首页 > 其他好文 > 详细

创建MAVEN项目报错

时间:2015-12-09 13:32:24      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:

创建MAVEN项目pom.xml报错

Failure to transfer org.apache.maven:maven-archiver:jar:2.4.2 from http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error:
 Could not transfer artifact org.apache.maven:maven-archiver:jar:2.4.2 from/to central (http://repo.maven.apache.org/maven2):
 connection timed out to http://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.4.2/maven-archiver-2.4.2.jar

在库里加了该包D:\study\apache-maven-3.3.9-bin\apache-maven-3.3.9\repository\org\apache\maven\maven-archiver\2.4.2

技术分享

然后在pom修改了下

技术分享

创建MAVEN项目报错

标签:

原文地址:http://www.cnblogs.com/dieyaxianju/p/5032476.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!