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:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:418)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
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.怎么会出现这个错误,我的tomcat配置没有错啊

解决方案 »

  1.   

    提示很清楚  找不到编译器编译jsp生成的servlet
      

  2.   

    环境变量中添加一个JAVA_HOME
    环境变量中添加了的~~~~找不到编译器编译jsp生成的servlet,那如何解决这个问题呢?
    谢谢了。
      

  3.   

    首先启动Tomcat,然后再看看是否可以打开网页
      

  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.把jdk安装目录下面找到tools.jar复制到 tomcat 的 common/lib目录下不过建议你 重新安装tomcat
      

  5.   

    首先启动Tomcat,然后再看看是否可以打开网页。
    启动了,能够打开测试网页。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.
    把jdk安装目录下面找到tools.jar
    复制到 tomcat 的 common/lib目录下
    不过建议你 重新安装tomcat
    这样做了,可是还是提示这个错。这个错误到底是个什么错误嘛?严重到要重新安装Tomcat?是什么原因造成的呢
      

  6.   

    这个好像是tomcat的版本和jdk的版本不兼容的问题
      

  7.   

    tomcat的版本和jdk的版本不兼容的问题?
    啊,还有不兼容的问题?
      

  8.   

    我在想是不是因为我安装了Eclipse的原因,里面的一些设置与tomcat本身发生了冲突?或者是改变了 server.xml 文件里的内容?