commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Taylor <>
Subject RE: Digester under JRun 3.1
Date Wed, 04 Dec 2002 19:17:41 GMT
Thanks John. Actually the problem was that JRun has so a parser.jar and
jaxp.jar in its lib/ext directory. If you don't specify a reader for the
digester, it looks in these for an implementation of an XMLReader - but it
won't find it.

            digester = new Digester(new ParserAdapter());

It works! 

-----Original Message-----
From: John Yu []
Sent: Tuesday, December 03, 2002 7:15 PM
To: Jakarta Commons Users List
Subject: Re: Digester under JRun 3.1

Sounds like JRun has its own copy of xerces.jar which is older/incompatible.

Try to add your xerces.jar to the system classpath (i.e. java -cp) when 
starting the JRun to see if the problem goes away.

At 08:17 am 04-12-2002, you wrote:
>Using version 1.3 of Digester, I am getting a NoSuchMethodError when
>under JRun 3.1. Has anyone else encountered this? I am guessing it is a
>problem of not having the correct sax parser loaded. I have a xalan.jar and
>xerces.jar in my servers lib directory.
>Here's the stack trace:
>at org.apache.commons.digester.Digester.getXMLReader(
>at org.apache.commons.digester.Digester.parse(
>This corresponds to the line:
>reader = getParser().getXMLReader();
>Anyone have any ideas?
> > Steve Taylor

John Yu                       Scioworks Technologies
e:         w: +(65) 873 5989
w:   m: +(65) 9782 9610

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message