您的位置:首页 > 编程语言 > Java开发

springboot创建项目问题:Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 from

2017-08-09 14:47 1036 查看
遇到问题:

Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 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.codehaus.plexus:plexus-archiver:jar:2.0.1 from/to central (http://repo.maven.apache.org/maven2):
No response received after 60000


网上查到的解决方案:

解决:

1.先去掉Maven工程的maven特性,选中工程 鼠标右键–>Maven–>Disable Maven Nature. 此步骤后pom.xml错误消失

2.为工程增加Maven特性,选中工程 鼠标右键–>Configure–>Convert to Maven Project.

经过上述步骤,Maven工程就正常了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐