Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav問題

來源:互聯網
上載者:User

標籤:win10   找不到   需求   本地倉庫   倉庫   ann   alt   mave   can   

1.導致問題原因:從裝系統,從win7改到win10

  由於重裝了系統,開啟eclipse時,maven驗證會出錯,點擊pom檔案,會發現有紅色的Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav。點擊它時是空白。。。。

2.追蹤錯誤原因

  alt+f5,update所有,會提示錯誤資訊,原來是C:\Users\Administrator\.m2\repository這裡面找不到啥啥啥引起的。

3.解決辦法

  把C:\Users\Administrator\.m2\repositoryrepository給刪除掉,然後回去繼續alt+f5,騷騷騷的等片刻就OK。

 

本人maven裡的setting.xml檔案的鏡像配置是美女阿麗,如果客官你的是本地倉庫,不好意思,我也不知道上述能否解決你的需求。

Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav問題

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.