eclipse导包plugins等问题
Posted ljk-007
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse导包plugins等问题相关的知识,希望对你有一定的参考价值。
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.3
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.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导包plugins等问题的主要内容,如果未能解决你的问题,请参考以下文章
Hadoop eclipse plugin 在windows下的编译