You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Andre Berten <be...@informatik.uni-siegen.de> on 2001/02/01 10:11:17 UTC

Failure in binary distribution of Xerces-J 1.3.0 ?

Hello,

I tried the new version of Xerces-J to check the compatibility with my
development. There is one missing file (or more) in xerces.jar. 

[berten@pi60](252)9:59[xerces-1_3_0/samples] : java sax.SAX2Count
../data/personal.xml 
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/validators/common/XMLAttributeDecl
        at
org.apache.xerces.validators.common.XMLValidator.<init>(XMLValidator.java:339)
        at
org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:208)
        at
org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:200)
        at
org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:164)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at sax.SAX2Count.print(SAX2Count.java:124)
        at sax.SAX2Count.main(SAX2Count.java:370)


Andre Berten

Re: Failure in binary distribution of Xerces-J 1.3.0 ?

Posted by Andy Clark <an...@apache.org>.
Andre Berten wrote:
> I tried the new version of Xerces-J to check the compatibility 
> with my development. There is one missing file (or more) in 
> xerces.jar.

You are absolutely right. I just double-checked it and it's not
the only file missing.

-- 
Andy Clark * IBM, TRL - Japan * andyc@apache.org

Re: Failure in binary distribution of Xerces-J 1.3.0 ?

Posted by Andy Clark <an...@apache.org>.
Elena Litani wrote:
> Lisa and I have downloaded Xerces-J-bin.1.3.0.zip file from Apache, 
> and it looks perfectly fine.

As Neil stated in his reply, the problem is with the .tar.gz
package -- it's missing numerous files.

-- 
Andy Clark * IBM, TRL - Japan * andyc@apache.org

Re: Failure in binary distribution of Xerces-J 1.3.0 ?

Posted by Elena Litani <hl...@jtcsv.com>.
Hi, Andre and Andy,

Lisa and I have downloaded Xerces-J-bin.1.3.0.zip file from Apache, and
it looks perfectly fine.

I could run sax.SAX2Count with no problems either.

Elena.
 

Andre Berten wrote:
> 
> Hello,
> 
> I tried the new version of Xerces-J to check the compatibility with my
> development. There is one missing file (or more) in xerces.jar.
> 
> [berten@pi60](252)9:59[xerces-1_3_0/samples] : java sax.SAX2Count
> ../data/personal.xml
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/xerces/validators/common/XMLAttributeDecl
>         at
> org.apache.xerces.validators.common.XMLValidator.<init>(XMLValidator.java:339)
>         at
> org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:208)
>         at
> org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:200)
>         at
> org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:164)
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at sax.SAX2Count.print(SAX2Count.java:124)
>         at sax.SAX2Count.main(SAX2Count.java:370)
> 
> Andre Berten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org