Could not parse mapping document from input stream的解决办法
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: www.hibernate.org Nested exception: www.hibernate.org
解决办法:
Person.hbm.xml配置文件中,
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">改为:
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"
转自:http://hi.baidu.com/dxjilu/item/3cf4310d2a1b23fda11034f3