hly installed JBoss 5.1 (Java 6) I get a ClassNotFoundException for a class that definitely exists within my war.
The class that can't be found is referenced within the *hbm.xml:
Have a look at complete attached jboss startup log!
Output of "jar -tf timetracker.war":
Obviously there are two classloaders. Log indicates that one (timetracker.war classloader) finds the class:
The other one (VFSClassLoaderPolicy classloader) does not find the class.
I am investigating in this problem for a couple of weeks. Please help! I am deploying on a freshly installed jboss AS. The *hbm.xml seams to correct and the war contains the class at the right place. What is wrong? Do I miss some configuration? Why the "VFSClassLoaderPolicy classloader" put his hands in?