eclipse导入maven项目时报Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources

在用Eclipse IDE for Java EE Developers进行maven项目的开发时,报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of;解决方法:

1、查看windows -> Preferences -> maven->user Settings 中的user settings目录: 的settings.xml文件中.m2的位置

2、然后将.m2/repository/org/apache/maven/plugins目录下的文件夹全部删除

3、选中maven项目,右键--》maven--》update让maven重新下载依赖包

posted @ 2018-01-15 13:29  如果屈原会编程  阅读(605)  评论(0编辑  收藏  举报