錯誤如下:
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目錄刪除。