-->
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: What version of the JDK is requried?
PostPosted: Fri Oct 01, 2004 11:13 am 
Newbie

Joined: Mon Sep 13, 2004 4:00 pm
Posts: 15
Location: WI
I can't find anywhere on the website the version of the JDK needed for hibernate. I am currently using hibernate2.jar, and am getting the following error:

Initializing Hibernate
log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
java.lang.NoClassDefFoundError: javax/xml/transform/ErrorListener
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:160)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791)
at road2hibernate.EventManager.<init>(EventManager.java:26)
at road2hibernate.EventManager.main(EventManager.java:34)
Exception in thread "main"

I am using Java 1.3. Is Java 1.4 required for Hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 01, 2004 4:00 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Please read the readme in the libs directory. You need an XML Parser in your classpath if you use 1.3


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2004 9:45 am 
Newbie

Joined: Mon Sep 13, 2004 4:00 pm
Posts: 15
Location: WI
Thanks.

I added xml-apis.jar to my classpath and it worked.


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.