Could not find artifact com.sun:tools:jar:1.5.0 解决办法
生活随笔
收集整理的這篇文章主要介紹了
Could not find artifact com.sun:tools:jar:1.5.0 解决办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
Could not find artifact com.sun:tools:jar:1.5.0 解決辦法
創建maven項目出現錯誤Could not find artifact com.sun:tools:jar:1.5.0 解決方法:
錯誤如下:
Java代碼?
解決辦法:
Window -> Preferences -> Java -> Installed JREs, 點擊"Add"按鈕,選擇默認的"Standard VM", 點擊"Next >", 點擊"JRE home"右邊的"Directory"選擇文件夾E:\Java\jdk1.6.0_38,一路“確定”,回到"Installed JREs"界面,在剛添加的"jdk1.6.0_38"打上勾。
再選擇目錄樹中的"Execution Environments", 點選界面左側的"J2SE-1.5",然后在右側點選"jdk1.6.0_38"。如下圖
?
重啟Eclipse,一切OK了。
另外,在eclipse.ini文件中加了兩行(一定要加在-vmargs之前,而且-vm后面有回車):
-vm
E:/Java/jdk1.6.0_38/bin/javaw.exe
轉載于:https://my.oschina.net/leblancs/blog/798896
總結
以上是生活随笔為你收集整理的Could not find artifact com.sun:tools:jar:1.5.0 解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 资料链接参考
- 下一篇: Unity FixedUpdate 与