0 Replies Latest reply on May 26, 2004 11:04 AM by itchyoinker

    Hibernate Deployment

    itchyoinker Newbie

      Hi,

      Does anyone know why a hibernate class can't be located upon attempting to compile its respective mapping document (xml.hbm) during deployment?

      I think the problem is due to classloading, but I don't know how to solve it. Everything else seems to depoy fine. I'd really appreciate any ideas...

      Regards,
      Itchy


      More facts:
      The class is located in a .jar, whereas the mapping document is within a .sar. Directory structures are identical.


      The error message states:
      ERROR [Configuration] Could not compile the mapping document net.sf.hibernate.MappingException: persistent class [com.kemaiev.jzudi.hibernate
      .CompanyHibernateImpl] not found
      at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:84)
      .........etc......



      Also, within jboss-service.xml:
      attribute name="MapResources"
      com/kemaiev/jzudi/hibernate/CompanyHibernateImpl.hbm.xml
      attribute