亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

eclipse - eclispe 的maven依賴缺失問題
天蓬老師
天蓬老師 2017-04-21 11:15:46
0
4
868

在eclipse中 我maven項目依賴了其他項目某個jar A, 但A所依賴的其他包都沒被依賴進來,導致項目飄紅。咋弄呢?反復刪掉重新svn,maven更新啥的都沒變化,求解~

說得不夠詳細,eclipse中依賴樹是可視化的,有子依賴的話 會自動折疊成一個小三角形,但是很奇怪A的依賴旁邊沒有這個小三角形.......但是在其他機器上又是好的...

天蓬老師
天蓬老師

歡迎選擇我的課程,讓我們一起見證您的進步~~

reply all(4)
PHPzhong

If you are using a public server instead of a private server, you should consider whether the package that a certain jar A depends on exists on the public server. If it is a private server, upload a copy if it does not exist

伊謝爾倫
  1. Make sure A.jar is installed to the private repo using mvn install
  2. Is it okay for you to compile directly with maven? You can use mvn dependency:tree -Dverbose to look at the dependency tree
  3. Does m2e report any error messages
洪濤

Looking at the poster’s problem, it seems that the local project depends on the local project.
Check if there are any errors in the pom.xml of project A. As long as there is an error, other dependencies will be red.
Usually eclipse has prompts.

巴扎黑

That’s because the transitivity of other dependencies in the jar A you depend on is not set up properly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template