spring和hibernate整合的时候Juit报错
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'ses...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC 展开
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC 展开
2个回答
2016-09-25
展开全部
Error creating bean with name 'sessionFactory'
一般是数据库的设定有问题 ,最觉的是初始化数据库出错、如连接失败等
~~
一般是数据库的设定有问题 ,最觉的是初始化数据库出错、如连接失败等
~~
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询