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: 70 in the jsp file: /auc09contactform.jsp
The method cycle(PoolConnection) in the type PoolManager is not applicable for the arguments (String, null)
67:             PoolConnection c = null;
68:             PoolStatement s = null;
69:             try {
70:                 s = (c = Config.getConfig(configId).getPoolManager().cycle(this.getClass().getName(), null)).createStatement();
71:                 successDispatch = SendmessageDAO.notifyDispatch(s, configId, mailList);
72:             }
73:             catch (Exception e) {


An error occurred at line: 71 in the jsp file: /auc09contactform.jsp
The method notifyDispatch(PoolStatement, String, ArrayList<UsermessageVO>, boolean) in the type SendmessageDAO is not applicable for the arguments (PoolStatement, String, ArrayList<UsermessageVO>)
68:             PoolStatement s = null;
69:             try {
70:                 s = (c = Config.getConfig(configId).getPoolManager().cycle(this.getClass().getName(), null)).createStatement();
71:                 successDispatch = SendmessageDAO.notifyDispatch(s, configId, mailList);
72:             }
73:             catch (Exception e) {
74:                 e.printStackTrace();


An error occurred at line: 78 in the jsp file: /auc09contactform.jsp
The method cycle(PoolConnection) in the type PoolManager is not applicable for the arguments (String, PoolConnection)
75:             }
76:             finally {
77:                 try { if(s!=null)  s.close(); } catch(SQLException sx) {}
78:                 try { if(c!=null) Config.getConfig(configId).getPoolManager().cycle(this.getClass().getName(), c); } catch(SQLException sx) {}
79:             }
80:   
81:             if(successDispatch==0) {


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:475)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:380)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:355)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:342)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

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


Apache Tomcat/8.0.5