Hi ,
I am making a simple demo application using JBoss and Hibernate3
Somewhere in my application i have a code like this......
//////////////////////////
session = HibernateUtil.getSessionFactory().openSession();
Transaction tx = session.getTransaction() ;//Java.lang.NoSuchMethodError
/////////////////////////////////
The problem is that my application crashes at runtime at the statement
Transaction tx = session.getTransaction() ;
The stack trace gives following message ,
java.lang.NoSuchMethodError: org.hibernate.Session.getTransaction()Lorg/hibernate/Transaction;
Have read in some forums that this is because of incompatible jars ,
but the problem is how to identify the incompatible jars and rectify them .
I'd be thankful to anyone who can help me out in solving this issue .
Thanks in advance .
Best Regards,
Chandan Ahuja
|