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: 123 in the jsp file: /reporte.jsp
The method resultGetPublicacion(long, String) in the type ResultSQL is not applicable for the arguments (long)
120:         </tr>
121:         <% for (int i = 0; i < vecResultado.size(); i++) {
122:                 Vector vecInterno = (Vector) vecResultado.get(i);
123:                 publicacion = resultSql.resultGetPublicacion(Long.parseLong((String) vecInterno.get(0)));
124:                 String nombreArchivo = "";///new Oficial().getNombreDocumento(publicacion);
125:                 SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy");
126:                 //Date date = format.parse(publicacion.getFechaPublicacion());


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

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


Apache Tomcat/7.0.57