本人hibernate的初学者,在使用hbm2Java生成.java文件是,出现如下错误,请高手帮助解决一下!谢谢!
2007-4-16 18:12:58 net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error
严重: Error parsing XML: file:/D:/hibernate-extensions-2.1.3/tools/src/hiber/create.hbm.xml(4)
org.xml.sax.SAXParseException: The system identifier must begin with either a single or double quote character.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known 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.XMLScanner.scanExternalID(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispat
ch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.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.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:
100)
org.jdom.JDOMException: Error on line 4 of document file:/D:/hibernate-extension
s-2.1.3/tools/src/hiber/CreditRecQueryInfoHi.hbm.xml: The system identifier must
begin with either a single or double quote character.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:363)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java: