Eclipse/Maven error: “No compiler is provided in this environment”

前端 未结 24 1432
庸人自扰
庸人自扰 2020-11-27 04:36

I am a relative newcomer to the world of Java enterprise development. My organization\'s Java guru is out on indefinite family leave, and I have been assigned the task of m

24条回答
  •  独厮守ぢ
    2020-11-27 05:09

    This worked for me. 1. Click on Window-> Preferences -> Installed JRE. 2. Check if you reference is for JDK as shown in the image below.

    If not, Click on Add-> Standard VM -> Give the JDK path by selecting the directory and click on finish as shown in the image

    1. Last step, click on Installed JREs -> Execution Environments -> select your JDE as shown in the image below

    2. Maven -> Clean

提交回复
热议问题