maven依賴中部分依賴出現深灰色可能的解決方案


問題如圖:

 

1、按照網上不少同志建議的:直接右鍵項目,強制更新maven,即Update project; 

 

2、也是我遇到的問題,發現該依賴包已經下載,但是由於 Index downloads are disabled的問題解決方法如下:

  原因:應該是maven自動下載index組件的功能沒有開啟:

"Window" --> "Preferences" and choose Maven in the left side.勾選Download repository index updates on startup

解決:

"Window" ---> "Show View" ---> "Maven Repositories" ---> "Global Repositories" 

選擇 "central" click right and "Update Index"解決問題。

---恢復內容結束---


免責聲明!

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



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