excuse me i have sent this email to SAX mailling site there is no activity in it !!
i have downloded sax2r2.jar and decompressed to c:and downloded the "xercesImpl.jar" from apache org (the xml parser) and extracting it to <JDK>/jre/lib/ext/
so i got many files and one of theme is <JDK>\jre\lib\ext\org\apache\xerces\parsers\SAXParser.class
i compile the MySAXApp.java exemple comming with sax2r2.jar file with success. but whencompiling with this comand as sayed in the site tutorial:
c:\>java -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser MySAXApp sample.xml
i got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
can some body help ? where is the problem ?
i verified and THERE IS the file:
C:\jdk1.3.1_04\jre\lib\ext\org\xml\sax\helpersDefaultHandler.class
???!!!
i have downloded sax2r2.jar and decompressed to c:and downloded the "xercesImpl.jar" from apache org (the xml parser) and extracting it to <JDK>/jre/lib/ext/
so i got many files and one of theme is <JDK>\jre\lib\ext\org\apache\xerces\parsers\SAXParser.class
i compile the MySAXApp.java exemple comming with sax2r2.jar file with success. but whencompiling with this comand as sayed in the site tutorial:
c:\>java -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser MySAXApp sample.xml
i got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
can some body help ? where is the problem ?
i verified and THERE IS the file:
C:\jdk1.3.1_04\jre\lib\ext\org\xml\sax\helpersDefaultHandler.class
???!!!