cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject missing dependency : commons-beanutils
Date Wed, 07 Sep 2005 21:30:33 GMT
Hi,

In the forms-samples,
http://localhost:8888/samples/blocks/forms/form1-jx-macro seems to be
needing commons-beanutils :

21:05:10.142 WARN!! Error for /samples/blocks/forms/form1-jx-macro
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/ConvertUtils
at
o.a.commons.jxpath.util.BasicTypeConverter.canConvert(BasicTypeConverter.java:165)
at
o.a.commons.jxpath.util.BasicTypeConverter.canConvert(BasicTypeConverter.java:155)
at
o.a.commons.jxpath.util.BasicTypeConverter.canConvert(BasicTypeConverter.java:160)
at o.a.commons.jxpath.util.TypeUtils.canConvert(TypeUtils.java:46
)
at
o.a.commons.jxpath.util.MethodLookupUtils.matchType(MethodLookupUtils.java:285)
at
o.a.commons.jxpath.util.MethodLookupUtils.matchParameterTypes(MethodLookupUtils.java:260)
at
o.a.commons.jxpath.util.MethodLookupUtils.lookupStaticMethod(MethodLookupUtils.java:144)
at
o.a.commons.jxpath.PackageFunctions.getFunction(PackageFunctions.java:200)

...

After I added commons-beanutils-1.7.0 to WEB-INF/lib i got this
stacktrace :

org.apache.commons.jxpath.JXPathException: Undefined function:
org.apache.cocoon.forms.generation.JXMacrosHelper.createHelper

Cocoon stacktrace[hide]
Undefined function:
org.apache.cocoon.forms.generation.JXMacrosHelper.createHelper
resource://org/apache/cocoon/forms/generation/jx-macros.xml - 28:143
<jx:set>
file:/D:/src/cocoon-2.1.x/build/webapp/samples/blocks/forms/forms/form1_template_action_jx-macro.xml
- 28:52	<ft:form-template>
file:/D:/src/cocoon-2.1.x/build/webapp/samples/blocks/forms/sitemap.xmap -
531:35	<map:serialize type="xml">
file:/D:/src/cocoon-2.1.x/build/webapp/samples/blocks/forms/sitemap.xmap -
528:79	<map:generate type="jx">
file:/D:/src/cocoon-2.1.x/build/webapp/samples/blocks/sitemap.xmap -
66:68	<map:mount>
file:/D:/src/cocoon-2.1.x/build/webapp/samples/sitemap.xmap - 188:65
<map:mount>
file:/D:/src/cocoon-2.1.x/build/webapp/sitemap.xmap - 666:66	<map:mount>


Is anyone else seeing this ? It's a bit strange that only this
particular template seems to be affected, yet I can't see anything wrong
with it.


Jorg


Mime
View raw message