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

时间:2021-10-29 17:19:58

在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项目即可