-
1. Re: NoClassDefFoundError
mchauhan Aug 31, 2004 7:13 PM (in response to biggeronimo)I see that this user has already posted this twice.
Biggeronimo - what version are you at?
Can someone help out please, This happens quite often but once it happens its reproducible consistently. The work around for us has been to remove the deploy directory and restart again (not sure if we can consistently do that either - but this has seemed to work), Thanks in advance
-- -
2. Re: NoClassDefFoundError
anil.saldhana Aug 31, 2004 7:24 PM (in response to biggeronimo)server/default/lib is the place to put jar files that are statically deployed in JBoss.
"NoClassDefFoundError" happens usually for the following:
a) your class A has been deployed to the server elsewhere and the server is finding a old version of it [This happens with Tomcat]
b) You have not packaged the class that is bombing (NoClassDef) along with the classes that use it. Put it in the same jar file. -
3. Re: NoClassDefFoundError
anil.saldhana Aug 31, 2004 7:25 PM (in response to biggeronimo)This error is annoying but sit back and try to think why it is showing this error. Then check all your libraries for the existence of the class file.