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
按如下图设置。