3 Replies Latest reply on Apr 16, 2013 4:51 AM by Nicklas Karlsson

    Migrating ejb3 appliction from jboss eap 5.x to jboss eap 6.x causing Caused by: java.lang.NoSuchMethodError: org.hibernate.criterion.Restrictions.eq(Ljava/lang/String;Ljava/lang/Object;)Lorg/hibernate/criterion/SimpleExpression; in hibernate

    jaigates vg Newbie

      I am trying to migrate my application from jboss eap 5.x to 6.1.0.alpha.

       

      I am getting exeption like for using Restrictions.eq in hibernate-core-4.2.0.cr1.  Let me know how to fix this ? or any workaround

       

       

      Caused by: java.lang.NoSuchMethodError: org.hibernate.criterion.Restrictions.eq(Ljava/lang/String;Ljava/lang/Object;)Lorg/hibernate/criterion/SimpleExpression;