//出错信息
2003-10-12 20:15:09 net.sf.hibernate.cfg.Environment <clinit>
信息: Hibernate 2.0 final
2003-10-12 20:15:09 net.sf.hibernate.cfg.Environment <clinit>
信息: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.OracleDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.query.imports=net.sf.hibernate.test, net.sf.hibernate.eg, hibernate.connection.username=HBEZWWL, hibernate.connection.url=jdbc
racle:thin
kx-39m37dhb9umb:1521:HBFT, hibernate.connection.password=2001419, hibernate.statement_cache.size=25, hibernate.connection.pool_size=1}
2003-10-12 20:15:09 net.sf.hibernate.cfg.Environment <clinit>
信息: using java.io streams to persist binary types
2003-10-12 20:15:09 net.sf.hibernate.cfg.Environment <clinit>
信息: using CGLIB reflection optimizer
2003-10-12 20:15:10 net.sf.hibernate.cfg.Environment <clinit>
信息: JVM proxy support: true
2003-10-12 20:15:10 net.sf.hibernate.cfg.Configuration addClass
信息: Mapping resource: House/Areas.hbm.xml
2003-10-12 20:15:12 net.sf.hibernate.util.XMLHelper$ErrorLogger error
严重: Error parsing XML: XML InputStream(48)
org.xml.sax.SAXParseException: The element type "class" must be terminated by the matching end-tag "</class>".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:339)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:286)
at TestAreas.main(TestAreas.java:13)
2003-10-12 20:15:12 net.sf.hibernate.cfg.Configuration addInputStream
严重: Could not configure datastore from input stream
org.dom4j.DocumentException: Error on line 48 ofdo
cument : The element type "class" must be terminated by the matching end-tag "</class>". Nested exception: The element type "class" must be terminated by the matching end-tag "</class>".
at org.dom4j.io.SAXReader.read(SAXReader.java:355)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:286)
at TestAreas.main(TestAreas.java:13)
Nested exception:
org.xml.sax.SAXParseException: The element type "class" must be terminated by the matching end-tag "</class>".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:339)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:286)
at TestAreas.main(TestAreas.java:13)
Hit uncaught exception net.sf.hibernate.MappingException