Here I am going to give solution to the error "java.lang.NoClassDefFoundError: javax/transaction/Synchronization at org.hibernate.impl.SessionFactoryImpl.buildCurrentSessionContext(Sess
ionFactoryImpl.java:1036)"
Basically noclass definition found error comes when there is some jar files missing in classpath.Here
JTA(Java Transaction)
For this error you need to adjust the class path for compiling that is “jta.jar” is missing put jta.jar in lib folder to solve this problem. Happy coding
In order to view links, you must have to reply to this thread. to find solutions to all errors.