我无法更新我的maven项目。我已经看到其他一些人发布了这个错误,但我仍然无法解决此错误。
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-
plugin:2.4 or one of its dependencies could not be resolved: Failed to read
artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.4
Plugin org.apache.maven.plugins:maven-war-plugin:2.4 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-war-plugin:jar:2.4
答案 0 :(得分:0)
在终端输入“打开”,然后输入以下内容:
(Unix/Mac) OS X – ~/.m2
(Windows) C:\Documents and Settings\{your-username}\.m2
然后删除文件夹中的所有内容。回到你的项目右键单击它 - maven->更新项目。
这对我有用......