zoukankan      html  css  js  c++  java
  • Spring Boot 利用插件构造QueryDSL语句时报错:You need to run build with JDK or have tools.jar on the classpath.If this occur....

    You need to run build with JDK or have tools.jar on the classpath.If this occures during eclipse build make sure you run eclipse under JDK as well (com.mysema.maven:apt-maven-plugin:1.1.3:process:default:generate-sources)

     

    1.

    仔细的看看自己的电脑的环境变量有没有配置错误,我的电脑是这样配置的:

    JAVA_HOME    :     C:JavaJDKjdk1.8.0_20

    CLASSPATH      :    .;%JAVA_HOME%libdt.jar;%JAVA_HOME%lib ools.jar;

    Path                   :    %JAVA_HOME%jrein

    2.改为jdk

    3.在eclipse.ini文件新增jdk的javaw.exe配置

    4.重启eclipse ok 亲测可用

    自己确实用这种方法解决了,第三步中的javaw.exe不能少

    转载:https://blog.csdn.net/qq827245563/article/details/79726542

  • 相关阅读:
    简单状态机
    c语言状态机
    存储公司
    正确跑步
    好好做自己能做的
    I2C学习
    es6 generator函数
    es6 for of 循环
    es6 proxy代理
    es6 Symbol类型
  • 原文地址:https://www.cnblogs.com/hoojjack/p/9108511.html
Copyright © 2011-2022 走看看