Patrick Refondini wrote:
Patrick Refondini wrote:
Hi,

while running my Cocoon 2.2 block ( mvn jett6:run ) I obtain the following exception:

(...)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(Ljava/io/InputStream;Ljava/lang/String;)Lorg/apache/avalon/framework/configuration/Configuration;
(...)

Deleting the avalon-framework-4.1.3.jar lib from
${PROJECT}/target/${PROJECT}/WEB-INF/cocoon/lib/avalon-framework-4.1.3.jar

After rebuilding the latest cocoon trunk (2.2) and moving the AJAX dependency from:

    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-ajax-impl</artifactId>
      <version>1.0.0-M1</version>
    </dependency>

to:
    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-ajax-impl</artifactId>
      <version>1.0.0-M2-SNAPSHOT</version>
    </dependency>

I did not obtain this behaviour anymore.

yes, Cocoon 2.2 was changed _internally_ in many parts over the last weeks.

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

                
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

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

Reply via email to