Answer the question
In order to leave comments, you need to log in
I can't figure out what's wrong with the spring-core+hibernate project?
Intellij idea swears that: " Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer] ". Example taken from this site www.mkyong.com/spring/maven-spring-hibernate-mysql...
Answer the question
In order to leave comments, you need to log in
Here is the answer to your question: stackoverflow.com/questions/21951895/org-hibernate...
Add the dependency to pom.xml:
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.12.1.GA</version>
</dependency>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question