|Re: Unable to load JSP classes [message #516019 is a reply to message #515709]
||Mon, 22 February 2010 14:05
| Larry Isaacs
Registered: July 2009
> Hey All-
> I've been using Eclipse + WTP for a couple of years now, and just
> recently moved to using Tomcat 6 on my development machine.
> Lately, I've been getting a *ton* of exceptions of this sort:
> "org.apache.jasper.JasperException: org.apache.jasper.JasperException:
> Unable to load class for JSP". The pages aren't always the same, and
> don't have any sort of compilation issue.
> I can fix the errors by clearing the work directory from within Eclipse,
> but it always reappears fairly quickly. I'm pretty sure this has
> something to do with auto-deployment, because i can export a WAR and
> deploy it by hand (on Tomcat, and also on my production GlassFish
> installation) without issues.
> Has anyone ran into this, and managed to find a fix? Its not really that
> big of a deal, but its starting to get pretty irritating having to hand
> clear the directories so often.
> Thanks for any help!
This isn't something I've seen. Unfortunately, the exception provides
no clue as to why the class can't be loaded. This is likely due to some
underlying exception nested in this one. Are there any "caused by"
exceptions listed as well? You could try to set an exception breakpoint
for JasperException and run in debug mode. When this exception gets
created and execution breaks, you may be able examine the variables and
code locations involved to determine the root cause.
Powered by FUDForum
. Page generated in 0.02826 seconds