I am running spring inside
JBoss 4.2.3 and I am trying to update Hibernate to the latest version. I am using jboss class loader isolation to accomplish this (this is the only way to update hibernate in jboss). I also have my entity beans in a jar file at the ear level. My spring stuff is in a war that lives in the ear.
If I deploy just the ear hibernate is updated and all my entities are processed by hibernate and all looks great.
The problem happens when I introduce my war (which is using spring) into the ear. My spring classes cannot find my entity classes. I.E. I get a NoClassDefFound exception.
I am not sure, but I imagine this is because my entities were deployed in a specific class loader by JBoss and Spring is not going to that class loader to look for classes.
Has anyone ever run into this before? Please Help!