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.

Lance.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2007 02:32
To: commons-user@jakarta.apache.org
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?

Thanks!

--john


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to