Eclipse新建Maven Module模块出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2
2018-02-25 13:36
926 查看
错误如下:
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】进行升级
2、可以尝试把C:\Users\用户名\.m2\repository\org\apache\maven\plugins\maven-deploy-plugin目录删除。
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】进行升级
2、可以尝试把C:\Users\用户名\.m2\repository\org\apache\maven\plugins\maven-deploy-plugin目录删除。
相关文章推荐
- Eclipse导入Maven项目出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2
- Eclipse中Maven新建web项目报错Could not calculate build plan:Plugin org.apache.maven.plugins...
- 使用maven提示Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of its
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.4
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.4
- 【maven】ecplise新建maven项目 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- 解决报错 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6
- 创建动态web项目转maven时报错:Could not calculate build plan: Plugin org.apache.maven.plugins
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- maven报错【Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of】
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:p
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of