日期:2014-05-20  浏览次数:27056 次

运行main.jsp后出现这个页面
一样的程序,在不同的电脑上面,一个能运行出界面,而另一个则不能
type Exception report

message

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

exception

javax.servlet.ServletException: Unresolved compilation problems: 
The type main_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
Syntax error on tokens, delete these tokens
String literal is not properly closed by a double-quote
String literal is not properly closed by a double-quote
String literal is not properly closed by a double-quote
Syntax error, insert ")" to complete Expression
Syntax error on token "Invalid Character", delete this token
Syntax error, insert "enum Identifier" to complete EnumHeader
Syntax error, insert "EnumBody" to complete EnumDeclaration

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.luceneheritrixbook.searchengine.filter.SetResponseFilter.doFilter(SetResponseFilter.java:21)

root cause

java.lang.Error: Unresolved compilation problems
The type main_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
The method proprietaryEvaluate(String, Class<String>, PageContext, null, boolean) is undefined for the type PageContextImpl
Syntax error on tokens, delete these tokens
String literal is not properly closed by a double-quote
String literal is not properly closed by a double-quote
String literal is not properly closed by a double-quote
Syntax error, insert ")" to complete Expression
Syntax error on token "Invalid Character", delete this token
Syntax error, insert "enum Identifier" to complete EnumHeader
Syntax error, insert "EnumBody" to complete EnumDeclaration

org.apache.jsp.page.main_jsp.<init>(main_jsp.java:9)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:321)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.luceneheritrixbook.searchengine.filter.SetResponseFilter.doFilter(SetResponseFilter.java:21)

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

------解决方案--------------------
两个电脑的运行环境的分别是什么?
------解决方案--------------------
操作系统哪?
------解决方案--------------------