标签:failure-to repository local maven pom
详细错误:
Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced. Original error: Could not transfer artifact classworlds:classworlds:pom:1.1-alpha-2 from/to nexus (http://localhost:8081/nexus/content/groups/public): Connection refused: no further information to http://localhost:8081/nexus/content/groups/public/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom pom.xml /personalSpace line 1 Maven Configuration Problem
解释:
大概意思是,在缓存本地仓库中没有找到插件classworlds-1.1-alpha-2.pom,在没有解决这个问题之前,是不会去从Nexus代理的中央仓库上去执行更新下载。
我们到本地仓库看/classworlds/classworlds/1.1-alpha-2/目录情况:
看到这个目录下,没有我们需要的文件,怎么办?
解决方案:
删除/classworlds目录,再执行POM的update即可。
问题解决!
Maven 报错: Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from
标签:failure-to repository local maven pom
原文地址:http://blog.csdn.net/u013474104/article/details/43635175