Failure to find org.codehaus.plexus:plexus-archiver:jar:1.2 in...错误

来源:互联网 发布:ssH访问境外服务器端口 编辑:程序博客网 时间:2024/05/24 06:38

Maven错误

错误:新建了一个web工程helloworld, 在pom.xml中错误提示如下
Failure to find org.codehaus.plexus:plexus-archiver:jar:1.2 in 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 pom.xml /helloworld line 1 Maven Configuration Problem

解决:网上找了许多方法不见效。于是尝试读一读错误描述,根据错误描述,说明了org.codehaus.plexus:plexus-archiver:jar:1.2缓存在本地仓库什么什么的,抱着试一试的心态,删除本地仓库下的org.codehaus.plexus:plexus-archiver:jar:1.2。然后又报了另外一个相同的错,按照上述的方法继续删除,惊喜的发现错误解决了。

阅读全文
0 0
原创粉丝点击