hibernate配置文件问题
请叫我帅 2017-11-15 04:34:26 2017-11-15 16:21:59,497 ERROR [org.hibernate.util.XMLHelper] - Error parsing XML: XML InputStream(1) The markup declarations contained or pointed to by the document type declaration must be well-formed.
2017-11-15 16:21:59,501 WARN [org.springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentOrderDetailDAO' defined in file [F:\workspace\caiww\out\artifacts\admin\WEB-INF\classes\spring\context-business-admin-user.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'masterSessionFactory' defined in file [F:\workspace\caiww\out\artifacts\admin\WEB-INF\classes\spring\context-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
Caused by: org.dom4j.DocumentException: Error on line 1 of document http://hibernate.org/dtd/hibernate-mapping-3.0.dtd : The markup declarations contained or pointed to by the document type declaration must be well-formed. Nested exception: The markup declarations contained or pointed to by the document type declaration must be well-formed.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:601)
... 34 more