2017国庆值得看的电影:HTTP Status 500 -

来源:百度文库 编辑:高校问答 时间:2024/04/28 09:24:35
我打开网站点击了一个页面后出现了以下的情况,这是什么问题啊?
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.NullPointerException

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

解说个大意。
在HTTP协议中,HTTP Status 500 是服务器内部错误。

从错误信息中可以看到,你要连接的WEB服务器,是基于免费软件Apache Tomcat/5.0.28 来实现的,是JAVA形式的WEB服务器。

错误的直接现象是,JSP有错。没法编译,或是某种原因环境被破坏,使的JAVA的class找不到。
根本原因,可有以下可能性:
1。网站的JSP有错。
2。在表示的页面中,你输入了系统预想之外的内容,使的系统无法对应而崩溃。