Re: Weird Intermittent NoClassDefFound

2009-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 7/29/2009 5:18 PM, Chris Masters wrote: > Thanks for the quick reply Pierre - I've been reading up since, > checked and my installation is OK. > > However, I think I may have found the problem. Sometimes a class > loader will throw a NoClas

Re: Weird Intermittent NoClassDefFound

2009-07-29 Thread Chris Masters
oing. Thanks, Chris - Original Message From: Pierre Goupil To: Tomcat Users List Sent: Wednesday, July 29, 2009 12:43:49 PM Subject: Re: Weird Intermittent NoClassDefFound Hello, I've never encountered such a situation myself, but it may be because of a duplicate jar in your c

RE: Weird Intermittent NoClassDefFound

2009-07-29 Thread Martin Gainty
could be the class location mechanism is broken find your class in your classloader..you could use Spring Framework's ClassLoaderUtils http://static.springsource.org/spring/docs/1.2.x/api/org/springframework/util/ClassLoaderUtils.htm org.springframework.util.ClassLoaderUtils(Class.forName("Your

Re: Weird Intermittent NoClassDefFound

2009-07-29 Thread Pierre Goupil
Hello, I've never encountered such a situation myself, but it may be because of a duplicate jar in your classpath. As you may know, looking in WEB-INF/lib should not be enough. Maybe you should have a look at this, in order to know where to look : http://tomcat.apache.org/tomcat-6.0-doc/class-l