1 Reply Latest reply on Jun 6, 2005 10:38 AM by starksm64

    Hibernate 2.1.x on Jboss 4.0.2 - what's changed since 4.0.2r

    knuterikballestad

      I have successfully been using Hibernate as the persistence layer in my .ear project for some time.

      I have an .ear project containing a .sar hibernate mapping and a .war webapp. The classes common for these are simply located on my .ear root.

      So far so good, but If I try to deploy my app on 4.0.2 instead of 4.0.2rc1, I get this error:

      ERROR [MainDeployer] could not create deployment: file:/D:/Java/JBoss/jboss-4.0.2/server/default/deploy/MyApp.ear/hibernatemapping.sar
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: net.sf.hibernate.jmx.HibernateService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: net.sf.hibernate.jmx.HibernateService)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
      


      Does anybody here know what changed and/or how to get it to work on 4.0.2?