错误:Error creating bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/context/applicationContext-hibernate.xml]:
Invocation of init method failed; nested exception is org.hibernate.HibernateException:
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
原因:hbm.xml文件里面的属性名与实体类不一致。(注意粘贴复制时黏带的空格)
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。