Friday, July 4, 2014

java.lang.ClassNotFoundException: javassist.util.proxy.MethodFilter

Exception :- 
Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodFilter 
Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer] 
Caused by: org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister 


First ensure that you have included javassist jar in classpath. Click here to download javassist jar 

If you are using maven then add following dependency in pom.xml
<dependency>
    <groupId>javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.12.1.GA</version>
</dependency>

 

No comments:

Post a Comment

ShareThis