0 Replies Latest reply on Sep 11, 2015 1:10 PM by Kamal Sharma

    Hibernate 3 with Wildfly 9

    Kamal Sharma Newbie

      Hi,

       

      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.

      Thanks