2 Replies Latest reply on Feb 20, 2018 6:31 AM by Anup Dey

    Hibernate 3 with Wildfly 9

    Kamal Sharma Newbie



      I am migrating from JBoss 6 to Wildfly 9.

      My application is using Hibernate3 but Wildfly comes with Hibernate4, and this causing antlr conflict while deployment of the application. I searched the net and find out the way to use Hibernate 3. In my persistence file I added a line <property name="jboss.as.jpa.providerModule" value="org.hibernate:3"></property> and then again started the deployment but failed. Now it is complaining about the "Failed to define class org.jboss.as.jpa.hibernate3.JBossAppServerJtaPlatform in Module "org.jboss.as.jpa.hibernate:3". Can anybody please help me sort out this problem.