【maven】ecplise新建maven项目 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin

在ecplise上新建maven项目 报错:

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 org.apache.maven.plugins:maven-resources-plugin:jar:2.6

对于这个问题的解决方法:

删除maven库里面文件:C:\Users\Administrator\.m2\repository\org\apache\maven\plugins这个文件夹下的所有文件

注意自己maven库的位置。

 

然后重启ecplise,新建maven项目即可

posted @ 2017-03-25 15:51  Angel挤一挤  阅读(2878)  评论(0编辑  收藏  举报