HTTP Status 500 - Unable to compile class for JSP:


type Exception report

message Unable to compile class for JSP:

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: 

An error occurred at line: 198 in the jsp file: /news/biddinginformation.jsp
pool cannot be resolved
195: 	} catch (Exception e) {
196: 		e.printStackTrace();
197: 	} finally {
198: 		pool.freeConnection(conn);
199: 	}
200: %>


An error occurred at line: 198 in the jsp file: /news/biddinginformation.jsp
conn cannot be resolved to a variable
195: 	} catch (Exception e) {
196: 		e.printStackTrace();
197: 	} finally {
198: 		pool.freeConnection(conn);
199: 	}
200: %>


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:460)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
	jerehnet.jsp.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:34)

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


Apache Tomcat/6.0.44

环亚娱乐_AG环亚集团