Many thanks to Reinhard Pötz!

To make this work with the current trunk, a few simple changes are needed:

pom.xml: Add a dependency for cocoon-servlet-service-components

   <parent>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-core-modules</artifactId>
       <version>6-SNAPSHOT</version>
   </parent>

   <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-core</artifactId>
   </dependency>

   <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-template-impl</artifactId>
   </dependency>

   <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-servlet-service-components</artifactId>
   </dependency>

web.xml: Add a listener for BlockDeploymentServletContextListener

   <listener>
       <description>Declare a context listener that installs all 
blocks.</description>
       
<listener-class>org.apache.cocoon.blockdeployment.BlockDeploymentServletContextListener</listener-class>
   </listener>

I don't understand why these components should be required if they
aren't used, but this gets the webapp going without errors.

-Hugh Sparks, [EMAIL PROTECTED]



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

Reply via email to