commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Exception while using Validator...
Date Wed, 08 Jan 2003 06:05:42 GMT


On Wed, 8 Jan 2003, C . HARIKRISHNAN wrote:

> Date: Wed, 8 Jan 2003 06:52:29 +0100
> From: C . HARIKRISHNAN <hari@sella.it>
> Reply-To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> To: "'commons-user@jakarta.apache.org'" <commons-user@jakarta.apache.org>
> Subject: Exception while using Validator...
>
> hi,
> while working sample program in Validtor i am reciving the following
> exception.
> Exception in thread "main" java.lang.NoSuchMethodError
>         at
> org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1514)
>         at
> org.apache.commons.validator.ValidatorResourcesInitializer.initialize(Valida
> torResourcesInitializer.java:256)
>         at
> org.apache.commons.validator.ValidatorResourcesInitializer.initialize(Valida
> torResourcesInitializer.java:140)
>         at validator.ValidateExample.main(ValidateExample.java:76)
> I hava included the following files in the classpath of my Linux OS.
>  [commons-validator.jar]
>  [commons-beanutils.jar]
>  [commons-collections.jar]
>  [commons-digester.jar]
>  [commons-logging-api.jar]
> An xml parser conforming to SAX 2.0 for the Commons Digester [sax.jar]
> Optionally, an XML parser conforming to JAXP , version 1.1 or later (the
> first one to support SAX 2.0) for the Commons Digester  [xerces.jar]
> Please suggest how to fix this.
> Regards,
> HariKrishnan.
>

The JAXP/1.1 requirement (for Digester) is not optional.  I see that the
Digester javadocs still have this wrong, and will correct them.

Craig


Mime
View raw message