1、问题

Could not calculate build plan: Plugin
org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
net/gezilan/article/details/80274430

Eclipse创建的Maven项目报错Could not calculate build plan: Plugin

2、解决办法

1、查看eclipse里,配置的maven的安装位置
2、找到安装maven的安装目录,进入conf目录,打开setting.xml文 件,查看

Eclipse创建的Maven项目报错Could not calculate build plan: Plugin
可以看到D:\repository
我们进入到 D:\repository\org\apache\maven找到一个plugins,删掉
3、进入eclipse,找到项目,右键项目,点击Run As,执行Maven test,maven应该就会自动下载所需要的plugin插件,控制台会自动打印
Eclipse创建的Maven项目报错Could not calculate build plan: Plugin
等待下载完毕后,重新创建maven项目,就不会再报这个错误了。

相关文章:

  • 2021-11-04
  • 2022-01-31
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-04
  • 2021-07-12
  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-12-19
相关资源
相似解决方案