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

前端 未结 24 1510
庸人自扰
庸人自扰 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条回答
  •  猫巷女王i
    2020-11-27 05:11

    Maven requires JDK to compile. In Eclipse you need to CHANGE/ REPLACE your JRE to the JDK path that your JAVA_HOME points to. Navigate to Window > Preferences > Java > Installed JREs.

    Make sure that the maven-compiler-plugin in you pom.xml has the source and target of the java version in your JAVA_HOME

    http://learn-automation.com/maven-no-compiler-is-provided-in-this-environment-selenium/

提交回复
热议问题