導入maven項目,maven倉庫報錯

maven導入項目的時候,報了一個這個錯誤:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 

Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5.

 

後來百度了一下,得到的結果,是將之前的maven倉庫,全都刪除了,讓重新更新,然後就好了。

 

或者可以將倉庫中org.apache.maven.plugins這個目錄下的全都刪除,也行。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章