原文:Maven報錯Failed to collect dependencies at com.***:***:jar:1.0.0

問題 mvn install后報錯,使用mvn X install使用debug模式查看,顯示如下信息,意思是這個jar包的依賴包下載不到。 解決辦法 添加倉庫即可,可以去setting中添加mirror或profile下的repository,同時需要用activeProfiles激活profile。 去maven的setting中修改mirrors 用profile,同時需要密碼的記得配置se ...

2020-03-12 12:57 0 4998 推薦指數:

查看詳情

maven依賴出現問題:failed to collect dependencies

問題:在maven項目中,install dao層之后,在interface調用顯示failed to collect dependencies; 解決辦法: 1.檢查依賴信息是否正確,不確定刪除后重新引入。 2.從parent開始先install 再install dao,在install ...

Sat Mar 02 05:43:00 CST 2019 0 3116
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM