On Wed, 8 Jan 2003, C . HARIKRISHNAN wrote:
> Date: Wed, 8 Jan 2003 06:52:29 +0100 > From: C . HARIKRISHNAN <[EMAIL PROTECTED]> > Reply-To: Jakarta Commons Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > 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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
