在你的环境变量中CLASSPATH中加TOOLS.JAR
我的是%JAVA_HOME%\lib\TOOLS.JAR
当然先要设JAVA_HOME

解决方案 »

  1.   

    从JDK中拷贝TOOLS文件到to the common/lib directory of the Tomcat server
      

  2.   

    No Java compiler was found to compile the generated source for the JSP. 
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    说得很清楚亚
      

  3.   

    没有JAVA日编译器
    也就是楼上所说的
      

  4.   

    需要设置一下你的环境变量classpath=c:\jdk\lib\tools.jar;
      

  5.   

    我都设置了,而且也把tools.jar 考到common/lib 下面了,但是还是不对
      

  6.   

    No Java compiler was found to compile the generated source for the JSP
      

  7.   

    copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server
    很容易就解决拉,不是告诉你 我就这么解决的吗?