-->
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: NoClassDefFoundError: javax.xml.transform.Source
PostPosted: Wed Jul 07, 2004 1:58 pm 
Newbie

Joined: Wed Jul 07, 2004 1:47 pm
Posts: 2
Location: Dublin, OH
I receive a NoClassDefFoundError: javax.xml.transform.Source when using JRE 1.3 but have no problems with JRE 1.4. The exception is thrown when buildSessionFactory() is called. Is the Hibernate code using the Source class to read the XML mapping files?

Using: Hibernate 2.1.4


Top
 Profile  
 
 Post subject: NoClassDefFoundError: javax.xml.transform.Source - Solution
PostPosted: Wed Jul 07, 2004 2:42 pm 
Newbie

Joined: Wed Jul 07, 2004 1:47 pm
Posts: 2
Location: Dublin, OH
I found out the problem:

The xml-apis.jar was missing from the classpath.

Apparently this jar contains the XML classes already included in JDK 1.4

A lesson learned from migrating code from a 1.4 project to a 1.3 project.


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.