Maven----导入项目后报错

来源:互联网 发布:罗马城市 知乎 编辑:程序博客网 时间:2024/05/01 14:50

1. 错误信息(一)

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6…………

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

0 0
原创粉丝点击