tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Need help debugging JSP compilation failure
Date Wed, 06 Jul 2011 22:08:52 GMT
On 06/07/2011 22:59, Mike Spreitzer wrote:
> I just got a pointer into my original JSP (not the Java version); see copy 
> below.  I also looked in my $CATALINA_HOME/work, and found only 
> directories, no files (at any depth) --- see listing below.  I did not 
> precompile my JSP.
> 
> Here is the complaint from logs/localhost.{date}.log:
> 
> Jul 6, 2011 3:49:36 PM org.apache.catalina.core.StandardWrapperValve 
> invoke
> SEVERE: Servlet.service() for servlet [jsp] in context with path 
> [/rippledriver] threw exception [Unable to compile class for JSP: 
> 
> An error occurred at line: 10 in the jsp file: /index.jsp
> Unhandled exception type Exception

What more information could you possibly want to debug this? The error
is "Unhandled exception type Exception" at line 10 in your JSP.

> 10: <%!static Driver driver = new RealDriverImpl();%>

And the method signature for the default constructor for RealDriverImpl
is what? My money is on:
public RealDriverImpl() throws Exception

and that is an unhandled exception which is not valid Java.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message