Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1151

JBoss uses static Hibernate module instead of Hibernate jars included in deployment

    XMLWordPrintable

Details

    Description

      JBoss is loading Hibernate 4.0.1.Final (ships with) instead of the version specified in my Maven POM file and embedded in WAR archive, version: 4.1.5.SP1.

      This ONLY occurs when I have a Persistence Unit setup in my WAR file in directory: resources/META-INF.

      If I rename persistence.xml to persistence.xml.old, JBoss loads the correct version: Hibernate 4.1.5.SP1.

      I have a sample project.

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            sshtac Kuthair Habboush (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: