-->
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.  [ 3 posts ] 
Author Message
 Post subject: System property org.xml.sax.driver not specified
PostPosted: Fri Jan 20, 2006 1:00 am 
When I am runnning the application , I am getting this error :

187 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: hibernate.cfg.xml
Warning: Caught exception attempting to use SAX to load a SAX XMLReader
org.xml.sax.SAXException: System property org.xml.sax.driver not specified
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
at org.dom4j.io.SAXReader.read(SAXReader.java:435)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1354)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1298)
at HibernateSessionFactory.currentSession(HibernateSessionFactory.java:46)
at TestClient.createHoney(TestClient.java:42)Warning: Exception was: org.xml.sax.SAXException: System property org.xml.sax.driver not specified
Warning: I will print the stack trace then carry on using the default SAX parser

at TestClient.main(TestClient.java:21)
%%%% Error Creating SessionFactory %%%%
org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1364)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1298)
at HibernateSessionFactory.currentSession(HibernateSessionFactory.java:46)
at TestClient.createHoney(TestClient.java:42)
at TestClient.main(TestClient.java:21)
Caused by: org.dom4j.DocumentException: System property org.xml.sax.driver not specified Nested exception: System property org.xml.sax.driver not specified
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1354)
... 4 more
java.lang.NullPointerException
at HibernateSessionFactory.currentSession(HibernateSessionFactory.java:54)
at TestClient.createHoney(TestClient.java:42)
at TestClient.main(TestClient.java:21)
Exception in thread "main"

Please help me in this regard.

Qaiser


Top
  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 11:43 am 
Beginner
Beginner

Joined: Wed Sep 13, 2006 7:24 am
Posts: 26
has anyone got back to you on this, as i have the same error now.

_________________
Ben


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 11:43 am 
Beginner
Beginner

Joined: Wed Sep 13, 2006 7:24 am
Posts: 26
has anyone got back to you on this, as i have the same error now.

_________________
Ben


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

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.