No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

在eclipse中使用maven進行compile時,出現了「No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK」錯誤,從表面意思我們大概能看出,其實就是使用了JRE而不是JDK。  修改一下Eclipse配置就好了,如下圖:   畫紅線的地方其實是我修改後,
相關文章
相關標籤/搜索