[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Classpathx-xml] jar-file corrupted?
From: |
Joachim Ziegler |
Subject: |
[Classpathx-xml] jar-file corrupted? |
Date: |
Mon, 3 Jun 2002 15:22:55 +0200 |
hello,
maybe i am doing something seriously wrong, or the jar file "gnujaxp.jar"
which i've just installed this morning is corrupted.
when i try to compile MySAXApp.java with the following command
$ javac -classpath /usr/local/java/XML/gnujaxp-1.0beta1/gnujaxp.jar:$CLASSPATH
MySAXApp.java
i get the following error messages:
MySAXApp.java:3: Class org.xml.sax.XMLReader not found in import.
import org.xml.sax.XMLReader;
^
MySAXApp.java:4: Class org.xml.sax.InputSource not found in import.
import org.xml.sax.InputSource;
^
MySAXApp.java:5: Class org.xml.sax.Attributes not found in import.
import org.xml.sax.Attributes;
^
MySAXApp.java:6: Class org.xml.sax.helpers.XMLReaderFactory not found in
import.
import org.xml.sax.helpers.XMLReaderFactory;
^
MySAXApp.java:7: Class org.xml.sax.helpers.DefaultHandler not found in import.
import org.xml.sax.helpers.DefaultHandler;
^
MySAXApp.java:10: Superclass org.xml.sax.helpers.DefaultHandler of class
MySAXApp not found.
public class MySAXApp extends DefaultHandler
^
6 errors
But the jar file is there:
$ ls -l /usr/local/java/XML/gnujaxp-1.0beta1/gnujaxp.jar
-rw-r--r-- 1 root root 231445 Nov 212001
/usr/local/java/XML/gnujaxp-1.0beta1/gnujaxp.jar
and it contains the files not found by javac.
can you help me?
greetings from germany,
joachim
- [Classpathx-xml] jar-file corrupted?,
Joachim Ziegler <=