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: [email protected]
For additional commands, e-mail: [email protected]