问答详情
源自:5-2 配置去掉Hibernate的配置文件-Spring整合Hibernate

5.2课程配置后一直报错无法从输入流分析映射文档

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
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.InvalidMappingException: Could not parse mapping document from input stream


Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input stream

Caused by: org.dom4j.DocumentException: Connection reset Nested exception: Connection reset



提问者:qq__9106 2019-05-31 08:57

个回答