On 19/01/2011 16:04, KwonNam Son wrote:
> I'm developing an web application on Eclipse Helios, WTP, Tomcat
> 6.0.29(and just upgraded to 6.0.30).
> 
> I suffer from ClassNotFoundException a lot of times on both 6.0.29/30.
> It's not about usual classes or jar. It's about JSP generated java class.
> 
> For example, when I request /jsps/test.jsp, the stack trace looks like
> the following.
> 
> java.lang.ClassNotFoundException: org.apache.jsp.jsps.test_blahblah.class
> 
> But org.apache.jsp.jspa.test_blahblah.class surely exists in the work
> directory.
> 
> When this happens, I just shutdown the tomcat on eclipse and start it
> again. That's all. Then the jsp works fine. But after a few minutes it
> happens again.
> 
> What's the problem??

An integration issue in WTP maybe? I've never really got to the bottom
of exactly how that plug-in worked. Copying across the new JSP - or just
editing it directly should work.

Next time it happens check the timestamps on the JSP and the class file.

Mark

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

Reply via email to