commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Semmens <>
Subject RE: [digester] ArrayStack: method <init>(I)V not found
Date Mon, 22 Jan 2007 09:36:00 GMT
I suspect that you need a later version of commons-collections.jar than the one you are currently
using. Try using commons-collections.jar that comes with the digester distribution.


-----Original Message-----
From: [] 
Sent: 22 January 2007 02:32
Subject: [digester] ArrayStack: method <init>(I)V not found

Hello All,

I'm trying to use Digester on a simple file and have boiled the code
down the  the following.  However, it's still throwing an
NoSuchMethodError exception:

org.apache.commons.collections.ArrayStack: method <init>(I)V not found

Code snippet:

Digester digester = new Digester();
digester.addObjectCreate("fields/field", gov.noaa.eds.FieldSpec.class); 
digester.addSetNext("fields/field", "add", "java.lang.Object");
digester.addBeanPropertySetter("fields/field", "name");

Can someone explain what I'm doing wrong?



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

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

View raw message