Unresolved compilation problems求大神解决type Exception reportmessage Filter execution threw an exc
Unresolved compilation problems求大神解决
type Exception report
message Filter execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Filter execution threw an exception
root cause
java.lang.Error: Unresolved compilation problems:
String literal is not properly closed by a double-quote
String literal is not properly closed by a double-quote
Syntax error on token "catch", Identifier expected
Syntax error on token "close", Identifier expected after this token
Syntax error on token ";", { expected after this token
xin.ScholarshipManagerAction.ImportEDUScoreAction.<init>(ImportEDUScoreAction.java:132)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
java.lang.Class.newInstance0(Class.java:374)
java.lang.Class.newInstance(Class.java:327)
com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:131)
com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:162)
com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151)
com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121)
com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297)
com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:536)
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
这是页面错误信息代码,但是在本机可以访问这个页面,没有报错,而在服务器上则出现错误。错误信息是缺少一个双引号,我已经仔细查看了。没有缺少,不知道是怎么回事了。 java web应用 错误代码
[解决办法]
你在仔细检查一下,编译都没通过,说明你语法有问题,或者你把代码让别人看看。经常有时候一些细小的问题自己难以发现
[解决办法]
jsp编译没过,仔细检查下。
[解决办法]
这都可以,肯定是语法问题啊,仔细检查吧
