错误如下:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2...

解决方法:

1、项目右键->【Maven】->【Update Project...】

把这个选上,最后点击【OK】进行升级

Eclipse导入Maven项目出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2

2、可以尝试把C:\Users\用户名\.m2\repository\org\apache\maven\plugins\maven-deploy-plugin目录删除。

相关文章:

  • 2021-07-24
  • 2021-07-22
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
  • 2021-12-04
  • 2022-01-14
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2021-11-17
  • 2021-05-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
相关资源
相似解决方案