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

Posted java_pro

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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重新下载依赖包

以上是关于eclipse导入maven项目时报Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources(示例的主要内容,如果未能解决你的问题,请参考以下文章