码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2018-01-15 14:43:31      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:not   ips   删除   could   repos   source   ref   use   res   

在用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

标签:not   ips   删除   could   repos   source   ref   use   res   

原文地址:https://www.cnblogs.com/lxcmyf/p/8287687.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!