This content has been marked as final.
Show 1 reply
-
1. Re: NoClassDefFoundError
adrian.brock Jan 16, 2003 9:07 PM (in response to mspeck)Classloaders are hierarchical.
Wars
UnifiedClassLoaders
BootClassLoader
Classpath
You can only look above, if you are loading classes
dynamically using the thread's application classloader.
Thread.currentThread().getContextClassLoader().loadClass()
This will fail.
import InTheWar;
public class InTheClassPath
{
}
so will
import InTheWar;
public class InAnEJB // UnifiedClassLoader
{
}
The only things in jboss's classpath are run.jar
and the jre, so you won't be able to import
very much. :-)
Regards,
Adrian