Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
kacuak
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kacuak
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic