Thanks for your reply Lance. I am using collections-3.2 and digester-1.8. I wasn't sure what you meant by the commons-collection.jar that comes w/ the digester distribution since the binary install only includes the commons-digester jar.

In any case, I found that my RHEL linux system works OK, so the problem must be limited to my Mac 10.4 or the environment there.

-- john


Lance Semmens wrote:
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]


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

Reply via email to