您的位置:首页 > 运维架构 > Apache

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6

2017-02-20 20:36 786 查看
在使用Maven创建web项目时,出现Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for ...报错,看了网上很多解决办法都不行,每次到Update时就报Failure
to transfer org.apache.maven.plugins......错误。

最后发现要把Window --> Maven-->User Settings中的Global Setings设置为空(原来我的不为空),然后Apply,ok



然后把.m2\repository\org\apache\maven\plugins里面的所有文件删除,再Update project就成功了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  maven plugins web
相关文章推荐