Hi,

I am having a strange JSP compiler problem. The error message is as follows.
First, notice that the lines cocerned are commented out! Still compiler
compiling!
Second, the second argument of the caller is missing in the error message!

???

===========================================================================
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 70 in the jsp file: /jsp/pdfexample1.jsp
The method addCell(Object, Table, int, int, int, int) in the type iTex is
not applicable for the arguments (Image, int, int, int, int)
67: 
68: 
69: 
70:             // cell = iTex.addCell(Image.getInstance(data), 
71:             //                      datatable, iTex.ALIGN_CENTER, 
iTex.ALIGN_TOP, 2, 1);
72: 
73: 


Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
        
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        servlets.rme.jspreport.doGet(jspreport.java:23)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
-- 
View this message in context: 
http://www.nabble.com/Did-I-find-a-bug--tp15113261p15113261.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to