maven運行項目出現編譯環境的錯誤

用eclipse運行maven項目時出現No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 錯誤,其實出現這個錯誤的原因很簡單,就是在eclipse中設置運行環境時指定爲jre。解決辦法如下: 這個原因的出現是因爲我們在eclipse中配置java運行環境時
相關文章
相關標籤/搜索