[jdom-interest] NoClassDefFoundError - - - org/xml/sax/SAXNotSupportedException

Laurent Bihanic laurent.bihanic at atosorigin.com
Thu Jun 30 03:03:51 PDT 2005


Jean Carot wrote:
> java.exe -classpath .\build;.\lib\org.jdom\jdom.jar; MainClass
> Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXNotSupportedException
> it appears to be the line "SAXBuilder sxb = new SAXBuilder();"
> I really don't understand why it won't work from a Windows to another. Any help? :)

Maybe you're running on an old JDK version that has no XML support bundled.
Try adding Xerces JARs (xml-apis.jar and xerces.jar) to the classpath.


More information about the jdom-interest mailing list