Error creating bean with name 'sessionFactory' defined in class path resource

错误:
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,鼠标右键点项目
2,build path
3, configure build path
按如下图设置。

posted @ 2022-05-10 12:32  亚1918  阅读(335)  评论(0编辑  收藏  举报