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配置没有错啊
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配置没有错啊
解决方案 »
- 这是怎么回事?
- 怎么动态的创建成员变量
- 有关java中的循环问题
- SQL Server2000的存储过程如果有2个以上不同的select语句在JAVA中如何得到这几个结果集?
- java权限的问题
- 1.如何将密码框中的文本(*)变为他的真实字符? 2.如何改变JTable某一单元格的颜色?
- 程序中抛出异常是否影响效率?
- 请教:转JSON,不同场景忽略不同部分Properties有什么好办法?
- 怎样定义一个对象数组用于存储输入的学生数据
- 求助~空指针异常问题
- 长春鸿达公司怎么样啊??面试难吗,请有过经历的人给小弟传授一些经验啊!!
- 网页中嵌入一个applet,如何双击该applet使得网页最大化(或者执行页面一段js代码)
环境变量中添加了的~~~~找不到编译器编译jsp生成的servlet,那如何解决这个问题呢?
谢谢了。
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.把jdk安装目录下面找到tools.jar复制到 tomcat 的 common/lib目录下不过建议你 重新安装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?是什么原因造成的呢
啊,还有不兼容的问题?