标签:exce etc 解决问题 异常 work pid ini tco context
ERROR - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
spring3.2和hibernate3.3集成过程中出现此异常。
因为缺少javassist.jar,加入依赖解决问题。
<dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.21.0-GA</version> </dependency>
标签:exce etc 解决问题 异常 work pid ini tco context
原文地址:http://www.cnblogs.com/hanyoujia/p/6790466.html