GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exception in thread "main" java.lang.No Class Def Found Error : org/w3c/dom/Node" Watch "Exception in thread "main" java.lang.No Class Def Found Error : org/w3c/dom/Node" New topic
Author

Exception in thread "main" java.lang.No Class Def Found Error : org/w3c/dom/Node

kacuak
Greenhorn

Joined: Mar 24, 2004
Posts: 9
I have included xalan.jar, xercesImpl.jar, xerces.jar, xml-apis.jar in my classpath.
May I know is there any other factor which will lead to this error?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Are you sure that you are correctly adding these to your classpath when you are invoking your application? I don't see any reason why you would have this problem if you were.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
kacuak
Greenhorn

Joined: Mar 24, 2004
Posts: 9
I guess the path to xalan.jar, xercesImpl.jar, xml-apis.jar file is correct.
I can run XALAN's sample correctly.
will I need to use any special version of xerces.jar file? becoz Xerces file comes together with my IBM JDK13?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in thread "main" java.lang.No Class Def Found Error : org/w3c/dom/Node