3 Replies Latest reply on Mar 26, 2018 3:24 PM by trentjr

    Wildfly 12 unable to use Hibernate

    trentjr

      Hi there,

       

      when I deploy my app on WF12, I get the following error:org.jboss.modules.ModuleLoadError: org.jaxen. See my full problem description here. The thing is, the same app does not generate errors on WF11. What changed? Is that a bug?

        • 1. Re: Wildfly 12 unable to use Hibernate
          smarlow

          Hi Trent,

           

          I'm not sure why this is occurring.  Could you confirm that your not including the Hibernate jars as part of your application?

           

          It certainly does sound like a bug, I'm just not exactly sure of where the bug is yet.

           

          I tried adding the same persistence unit hints as you used, to an existing WildFly (12.0.0.Final) unit test and I didn't get any deployment errors.

           

          Try downloading the latest nightly build of WildFly and see if you can recreate the failure with that.

           

          Scott

          • 2. Re: Wildfly 12 unable to use Hibernate
            jaikiran

            Can you enable TRACE level logging of the org.jboss.modules package in your standalone/domain configuration and attach the generate logs to this thread?

             

            Which vendor and version of Java runtime is this?

            • 3. Re: Wildfly 12 unable to use Hibernate
              trentjr

              Hi there,

               

              this is the full log: https://hastebin.com/eruzatonip.vbs

              This is my logging settings https://ctrlv.cz/M8rb <-- is that correct? Seems like it didn't help really... I'll try the nightly version as well.

               

              Also, my Java:

               

               

              java version "1.8.0_151"

              Java(TM) SE Runtime Environment (build 1.8.0_151-b12)

              Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

               

              This is Oracle Java running on OS X 10.12