-->
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.  [ 2 posts ] 
Author Message
 Post subject: error on org/xml/sax/ErrorHandler
PostPosted: Thu May 11, 2006 10:43 am 
Newbie

Joined: Wed May 10, 2006 8:12 am
Posts: 9
Whats it mean if i get the following error

D:\work\bin>java employ.FirstExample
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/ErrorHandler
at org.hibernate.cfg.Configuration.reset(Configuration.java:141)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:157)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:161)
at employ.FirstExample.main(FirstExample.java:13)

Please suggest how to resolve

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 11:02 am 
Expert
Expert

Joined: Tue Apr 25, 2006 12:04 pm
Posts: 260
Make sure you have xml-apis.jar in your classpath. You can find this jar file in your Hibernate installation's "lib" directory.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.