| Author |
org.apache.jasper.JasperException: Unable to compile class for JSP
|
Tavamalar Malar
Greenhorn
Joined: Jun 11, 2012
Posts: 2
|
|
hi,
I seriously need help on this issue. I m trying to deploy a web application using JDK 1.6 and tomcat 6 and 7. But i m facing some error and I have spent hours to find solution but unable to find it. please help me..below is the error
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 19 in the generated java file
The return type is incompatible with JspSourceDependent.getDependants()
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:439)
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:717)
DIMS.controller.AppFilter.dispatch(AppFilter.java:117)
DIMS.controller.AppFilter.doFilter(AppFilter.java:97)
I have try to delete the work directory in tomcat but no use at all...Please help me out
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
|
Perhaps it might help to show us the code causing the error? Please be sure to UseCodeTags.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
I did a quick search on JspSourceDependent, and found this. It's an old post, but the error message is very similar. Here is another similar thread.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: org.apache.jasper.JasperException: Unable to compile class for JSP
|
|
|