使用Maven編譯java代碼報錯:
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
在Eclipse中,Window->Preferences->Java->Installed JRES
添加本機JDK的路徑,并勾選(不使用默認(rèn)的JRE)
再次編譯,O了!
posted on 2017-09-25 17:58
小王 閱讀(678)
評論(0) 編輯 收藏 引用 所屬分類:
Web開發(fā) 、
Java