Hi,
just mention that you get a error trying to compile with the ant version that comes with fedora core 2. I installed ant from apache.org after I deinstalled the ant RPM. Seems to work....
batomo
Here the error you get:
[java] 07:17:47,721 ERROR Configuration:? - Could not configure datastore from input stream
[java] org.dom4j.DocumentException:
http://xml.org/sax/handlers/LexicalHandler Nested exception:
http://xml.org/sax/handlers/LexicalHandler
[java] at org.dom4j.io.SAXReader.read(org.xml.sax.InputSource) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addInputStream(java.io.InputStream) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addClass(java.lang.Class) (Unknown Source)
[java] at org.hibernate.auction.Main.main(java.lang.String[]) (Unknown Source)
[java] Nested exception:
[java] org.xml.sax.SAXNotRecognizedException:
http://xml.org/sax/handlers/LexicalHandler
[java] at org.apache.xerces.parsers.AbstractSAXParser.setProperty(java.lang.String, java.lang.Object) (/usr/lib/lib-org-apache-xerces-2.2.1.so)
[java] at org.dom4j.io.SAXHelper.setParserProperty(org.xml.sax.XMLReader, java.lang.String, java.lang.Object) (Unknown Source)
[java] at org.dom4j.io.SAXReader.configureReader(org.xml.sax.XMLReader, org.xml.sax.helpers.DefaultHandler) (Unknown Source)
[java] at org.dom4j.io.SAXReader.read(org.xml.sax.InputSource) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addInputStream(java.io.InputStream) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addClass(java.lang.Class) (Unknown Source)
[java] at org.hibernate.auction.Main.main(java.lang.String[]) (Unknown Source)
[java] Exception in thread "main" net.sf.hibernate.MappingException: Error reading resource: org/hibernate/auction/AuctionItem.hbm.xml
[java] at net.sf.hibernate.cfg.Configuration.addClass(java.lang.Class) (Unknown Source)
[java] at org.hibernate.auction.Main.main(java.lang.String[]) (Unknown Source)
[java] Caused by: net.sf.hibernate.MappingException: org.dom4j.DocumentException:
http://xml.org/sax/handlers/LexicalHandler Nested exception:
http://xml.org/sax/handlers/LexicalHandler
[java] at net.sf.hibernate.cfg.Configuration.addInputStream(java.io.InputStream) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addClass(java.lang.Class) (Unknown Source)
[java] ...1 more
[java] Caused by: org.dom4j.DocumentException:
http://xml.org/sax/handlers/LexicalHandler Nested exception:
http://xml.org/sax/handlers/LexicalHandler
[java] at org.dom4j.io.SAXReader.read(org.xml.sax.InputSource) (Unknown Source)
[java] at net.sf.hibernate.cfg.Configuration.addInputStream(java.io.InputStream) (Unknown Source)
[java] ...2 more