转载落叶上的秋 最后发布于2016-03-06 15:37:51 阅读数 11696 收藏
展开
在用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 的settings.xml文件中.m2的位置
2、然后将.m2/repository/org/apache/maven/plugins目录下的文件夹全部删除
3、选中maven项目,右键--》maven--》update让maven重新下载依赖包
问题解决
【注】此IDE自带maven插件,不需要再自己下载安装maven插件
解决Eclipse中Maven项目依赖问题,通过清理本地仓库并强制更新依赖,避免'Could not calculate build plan'错误。
4403

被折叠的 条评论
为什么被折叠?



