I'm trying to convert a XSD using Jar and a batch file which sets the classpath and other relevant paramters. I get the Error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/ErrorHandler
The classpath has the following jar files:
xercesImpl-1.5.jarsax2.jarsax-2.0.1.jardom.jardom4j-1.6.1.jarxalan.jarxsdlib.jarjaxb-api.jarjaxb-impl.jarjaxb-libs.jarjaxb-xjc.jarnamespace.jarjax-qname.jarrelaxngDatatype.jar
Although the class
org/xml/sax/ErrorHandler exists in the jar sax.jar but still this error comes up.
Kindly Help