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.boot.InvalidMappingException: Could not parse mapping document: null (INPUT_STREAM)
这是什么问题啊
sessionFactory的bean创建错误,无法解析映射文档。看看是不是class里面的内容写错了?
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">