classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-xml] jar-file corrupted?


From: Nic Ferrier
Subject: Re: [Classpathx-xml] jar-file corrupted?
Date: 03 Jun 2002 14:45:06 +0100

Joachim Ziegler <address@hidden> writes:

> 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. 

So if you do:

  jar tvf gnujaxp.jar

you see the files? (and with reasonable size fields?)



Nic Ferrier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]