2 Replies Latest reply on Aug 23, 2007 8:34 AM by porcherg

    hibernate dependencies

    porcherg

      I am trying to create a basic persistence test which persists only a Process. This test uses JPA, and Hibernate as implementation.

      When I try to launch the test, I get the following error:

      Caused by: java.lang.NoClassDefFoundError: org/jboss/util/file/ArchiveBrowser$Filter


      This class is defined in jboss-archive-browsing (a dependency of Hibernate-EntityManager)
      Other dependencies are missing. If I had them by hand in the project build path, the test succeeds.

      How to add hibernate dependencies to the repository / build.xml ?


      regards,
      Guillaume

        • 1. Re: hibernate dependencies
          tom.baeyens

          first question: is this dependency really necessary ? meaning, can you find it somewhere in the hibernate docs ? usually it is in the README in the lib directory of the download.

          if we happen to need the lib, did you browse the repository ? i guess it should be there. otherwise i can have it added.

          • 2. Re: hibernate dependencies
            porcherg

            jboss-archive-browsing was required by hibernate-entity manager (specified in the readme of the archive).

            I have submitted an updated version of build.properties and dependencies.build.xml to add some libraries (just the required libs to make my tests work with hibernate)

            Guillaume