在用
tomcat
做服務器調試
jsp
的時候。總是報這個錯誤:
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
上網找了下才知道是要把 jdk\lib\tools.jar 文件拷貝到 tomcat\common\lib 下才行。
我用eclipse+lomboz老是調試不了