标签:
创建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修改了下
标签:
原文地址:http://www.cnblogs.com/dieyaxianju/p/5032476.html