Eclipse issue with Maven build and JDK when generating Qclasses in Querydsl

后端 未结 9 735
感动是毒
感动是毒 2020-12-05 04:51

When I add this code below in my pom.xml to support Querydsl


  

        
9条回答
  •  执笔经年
    2020-12-05 05:31

    This issue was happening to me because as mentioned above, Eclipse itself was running through the JRE instead of the JDK.

    I solved it by adding %JAVA_HOME%\bin to the front of my PATH environment variable.

    I figured out what JVM eclipse was using by reading through: Find out what JVM Eclipse is running on

提交回复
热议问题