问题:
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
解决方案:
把JAVA_HOME(java的安装目录)/lib/tools.jar
拷到TOMCAT_HOME(tomcat的安装目录)/common/lib下,重新启动Tomcat。
问题:
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
解决方案:
把JAVA_HOME(java的安装目录)/lib/tools.jar
拷到TOMCAT_HOME(tomcat的安装目录)/common/lib下,重新启动Tomcat。