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

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

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


  

        
9条回答
  •  鱼传尺愫
    2020-12-05 05:24

    If you build by shell commond like mvn install. Then run this command in the shell or cmd window: echo $CLASSPATH. This command shows your classpath.

    If you are using Eclipse, open Window > Preferences > Java > Installed JREs, make sure your installed JREs are of jdk root location. For me, it is C:\Java\jdk1.7.0_51

    Hope it helps.

提交回复
热议问题