-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Fedora core 2
PostPosted: Sun Jun 06, 2004 4:51 am 
Newbie

Joined: Sun Jun 06, 2004 4:45 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.