Hello,
I followed http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1291.html about creating blocks and connecting them.Everything works correctly and that's great.

I'm now trying to integrate cocoon-forms-sample, so I updated rcl.properties with :

com.mycompany.myBlock2.block%classes-dir=../../blocks/cocoon-forms/cocoon-forms-impl/target/classes
com.mycompany.myBlock2.block%classes-dir=../../blocks/cocoon-forms/cocoon-forms-sample/target/classes

and integrated cocoon-forms-sample in pom.xml dependencies.

I then execute :
mvn clean cocoon:rcl

and launch jetty through eclipse.

I then have the following error :
[ERROR] ContextLoader - Context initialization failed <org.springframework.beans.factory.BeanDefinitionStoreException: Unable to read Avalon configuration from 'resource://org/apache/cocoon/cocoon.xconf'.; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Unable to create class for component with role org.apache.cocoon.forms.validation.WidgetValidatorBuilder/assert with class: org.apache.cocoon.forms.validation.impl.AssertValidatorBuilder>org.springframework.beans.factory.BeanDefinitionStoreException: Unable to read Avalon configuration from 'resource://org/apache/cocoon/cocoon.xconf'.; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Unable to create class for component with role org.apache.cocoon.forms.validation.WidgetValidatorBuilder/assert with class: org.apache.cocoon.forms.validation.impl.AssertValidatorBuilder Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unable to create class for component with role org.apache.cocoon.forms.validation.WidgetValidatorBuilder/assert with class: org.apache.cocoon.forms.validation.impl.AssertValidatorBuilder

Any ideas ?

My goal is to integrate cocoon modules according my needs. Is it the way to do it with C22 ?

JC

--
Jean-Christophe Kermagoret
Technological leader
OpenBlueLab : http://www.openbluelab.org

Reply via email to