> If a class cannot be found, it will usually throw a
> ClassNotFoundException.
> A NoClassDefFoundError error means that the RealmBase class
> was found, but
> one of the classes it depends on can not be found. I believe it's the
> classloaders that are giving you grief. I wonder if you need
> to add any
> other jar files to the common/lib directory.

Thats not my understanding of it.

A NoClassDefFoundError is thrown when a class that is required cannot be
found in the classpath.  A ClassNotFoundException is thrown when a class
that is loaded dynamically (using Class.forName or ClassLoader.loadClass)
cannot be found in the classpath.

A NoClassDefFoundError typically means that a class that was present when
you compiled is not present at runtime.  of course in a container this could
mean all sorts of things.

hth
dim



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to