导入项目时报以下错误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.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for ...

 

 

此问题的解决:
1、确认windows -> Preferences -> maven 的settings.xml文件中,设置代理,很多可能是你设置出现错误.

 

2、C:\Users\ttt\.m2\repository\org\apache\maven\plugins目录下的文件夹全部删除,重新下载。

猜你喜欢

转载自hq82001.iteye.com/blog/2315168