type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPNo 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. 
If using an alternate Java compiler, please check its installation and access path. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:128)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:413)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.

解决方案 »

  1.   

    登陆首页出现问题。http://localhost:8080可以打开
      

  2.   

    $JAVA_HOME/lib/tools.jar
    在classpath有没有这一句?
    还有这一句不是Linux下的配置吗?路径不应该是:$JAVA_HOME\lib\tools.jar
    Windows下:%JAVA_HOME%\lib\tools.jar
      

  3.   

    这个已经告诉你怎么做了
    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. 
      

  4.   

    楼上说的对,不用我们翻译了吧?
    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.  
    If using an alternate Java compiler, please check its installation and access path. 
      

  5.   

    我直接把tool.jar拷贝到Tomcat 5.0\common\lib下面    
    classpath .;%JAVA_HOME%\lib;%CATALINA_HOME%\common\lib;