为了账号安全,请及时绑定邮箱和手机立即绑定

spring整合hibernate时出现的问题

spring整合hibernate时出现的问题

王伟_学习 2017-03-14 16:41:08
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
查看完整描述

1 回答

?
梦影剑魂

TA贡献66条经验 获得超21个赞

可能是hibernate的配置文件中<mapping>标签中的文件路径出错了吧,仅供参考

查看完整回答
反对 回复 2017-03-15
  • 1 回答
  • 0 关注
  • 1130 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号