commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John.C.Cartwri...@noaa.gov
Subject [digester] ArrayStack: method <init>(I)V not found
Date Mon, 22 Jan 2007 02:31:44 GMT
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message