4 Replies Latest reply on Nov 10, 2004 5:15 AM by Priyajith C

    My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hibern

    Marco Antonio Villalobos, Jr. Newbie


      I simply want to port my web application from JBoss 3.2.5 to
      JBoss 4.0.0 with a minimal of changes.

      My web application uses JBoss 3.2.5 with
      Hibernate version 2.1.6 with no problems.
      I don't use any Hibernate integration. I simply
      place my hibernate.cfg.xml file and my mappings
      in my WEB-INF/classes directory and it works fine.

      Why doesn't this work in JBoss 4.0.0? Now I am getting
      class not found errors? I realize that JBoss 4.0.0 ships
      with Hibernate, which version does it ship with?

      Furthermore, what steps must I take to use Hibernate with
      JBoss 4.0.0 the hibernate configurations files placed in
      WEB-INF/classes directory?

      Thank you.