NoSuchMethodError is typically thrown when there is a mismatch between jars and/or jdk between building and running
checking this can become quite cumbersome, but for starters it often pays off to check just the jdk (cocoon's build is spitting a warning specially for this)
could you elaborate on the used build and run environment that resulted in this?
furthermore, your cut&paste below seems to be missing the line-number indication on the first line. It would help to identify precisely which Method isn't available at runtime.
regards, -marc=
Nicolas Maisonneuve wrote:
when i lauch the XML sample woody, i have this error..
Original Exception: java.lang.NoSuchMethodError: org.apache.cocoon.woody.datatype.SelectionListBuilder.build(Lorg/w3c/dom/Element;Lorg/apache/cocoon/woody/datatype/Datatype;)Lorg/apache/cocoon/woody/datatype/SelectionList;
at org.apache.cocoon.woody.formmodel.AbstractDatatypeWidgetDefinitionBuilder.buildSelectionList(AbstractDatatypeWidgetDefinitionBuilder.java:86)
at org.apache.cocoon.woody.formmodel.FieldDefinitionBuilder.buildWidgetDefinition(FieldDefinitionBuilder.java:74)
at org.apache.cocoon.woody.formmodel.AbstractWidgetDefinitionBuilder.buildAnotherWidgetDefinition(AbstractWidgetDefinitionBuilder.java:105)
at org.apache.cocoon.woody.formmodel.FormDefinitionBuilder.buildWidgetDefinition(FormDefinitionBuilder.java:73)
at org.apache.cocoon.woody.DefaultFormManager.getFormDefinition(DefaultFormManager.java:152)
at org.apache.cocoon.woody.DefaultFormManager.createForm(DefaultFormManager.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://radio.weblogs.com/0116284/ [EMAIL PROTECTED] [EMAIL PROTECTED]
