Jetty5上面跑JSP,老是有错误信息说找不到JDK,我JAVA_HOME这些都设置好好的,其他T
OMCAT什么都正常,而且手动加入-Djava.home还是老问题,请教
[ERROR] Compiler - -Javac exception
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK>Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(Com
pilerAdapterFactory.java:105)
at org.a
m******t 发帖数: 2416
2
他T
Make sure your JAVA_HOME is set to a JDK not a JRE.
【在 p***p 的大作中提到】 : Jetty5上面跑JSP,老是有错误信息说找不到JDK,我JAVA_HOME这些都设置好好的,其他T : OMCAT什么都正常,而且手动加入-Djava.home还是老问题,请教 : [ERROR] Compiler - -Javac exception : com.sun.tools.javac.Main is not on the classpath. : Perhaps JAVA_HOME does not point to the JDK>Unable to find a javac compiler; : com.sun.tools.javac.Main is not on the classpath. : Perhaps JAVA_HOME does not point to the JDK : at : org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(Com : pilerAdapterFactory.java:105)