Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3
2015-05-18 15:01
369 查看
Maven 导入项目时报错:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
..................................
解决办法:
1.清除你的仓库
(默认为:C:\Users\用户名\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.3)
目录下的m2e-lastUpdated.properties文件
2.项目右键,Run As-->Maven clean
3.项目右键,Run As-->Maven install
4.项目右键,Maven-->Update Project..
5.刷新或者清理一下项目。over!
相关文章推荐
- Eclipse导入Maven项目出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2
- Eclipse新建Maven Module模块出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2
- 使用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.4
- 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.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-resources-plugin:2.6 or one of
- maven报错【Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of】
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- 【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 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.5
- maven安装时报 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of(maven报错)
- 解决报错 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6