Idea加載pom依賴卡頓解決


一、確認Idea Maven配置

1. maven home path可以選擇為本地maven安裝目錄,重新選擇User Settings file,選擇maven home path/conf/settings.xml文件

2. 將settings.xml重新配置到本地/Users/xxxx/.m2/路徑下(windows用戶是C://用戶//xxx//.m2)路徑下

 

二、確認setting.xml文件中的mirror配置信息

1. 打開 倉庫服務 (aliyun.com) ,根據首頁可以找到maven/gradle地址

2. 根據對應的格式,復制粘貼即可

 

 

三、配置文件中增加

<activeProfiles>
      <activeProfile>profileid</activeProfile>
</activeProfiles>

  

 


免責聲明!

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



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