1 Reply Latest reply on Nov 13, 2013 8:18 AM by jensaug

    How to use libraries provided by jboss 7

    techbrainless

      Hi All

      I am trying to use the hibernate library provided by jboss 7

       

      I have added the following in my pom file

       

      <dependency>

                  <groupId>org.hibernate</groupId>

                  <artifactId>hibernate-core</artifactId>

                  <version>4.0.1.Final</version>

              </dependency>

       

       

      but it does not work for me , Why ?

      ,

        • 1. Re: How to use libraries provided by jboss 7
          jensaug

          Hi,

           

          What do you mean with "does not work for me"? Eclipse cannot find some specific annotations, Maven cannot compile your project or your artifact (WAR-file) cannot be deployed or executed?

           

          In AS 7.1.1.Final, hibernate-core-4.0.1.Final.jar is normally available to all WARs since it's added as an implicit dependency once JBoss identifies the need for a PersistenceContext or PersistenceUnit.

           

          br,

          Jens