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]
缺少 javassist.jar
本文解决在Spring应用中创建SessionFactory时出现的BeanCreationException错误。详细分析了Hibernate无法实例化默认tuplizer的问题,并提供了缺失javassist.jar库的下载链接。
9048

被折叠的 条评论
为什么被折叠?



