You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/06/13 15:01:03 UTC

RE: NoClassDefFoundError

	I would suggest to look at %TOMCAT_HOME%/logs/jasper.log - it will
show you the classpath its using for each request, although it sounds like
the jar isn't in the right place - you need to put it into
webapp/WEB-INF/lib folder and its name must end in .jar.

	Randy

> -----Original Message-----
> From: Lund, Kevin [mailto:Kevin.Lund@westgroup.com]
> Sent: Wednesday, June 13, 2001 9:13 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: NoClassDefFoundError
> 
> 
> OK, to start I'll admit that I'm a Tomcat newbie. I have 
> looked over the FAQ
> and the list archives, and haven't really found anything that 
> has helped, so
> here goes.
> 
> I am getting a NoClassDefFoundError exception from a servlet, 
> even though
> the specified class is most certainly in a jar file in the 
> /lib directory of
> the web application.
> 
> I want to avoid putting the jar file in the system classpath, 
> if at all
> possible. Any thoughts on where I should point my investigation?
> 
> Thanks in advance,
> Kevin Lund
>