Eclipse導入Maven項目出現:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2


錯誤如下:

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目錄刪除。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM