Hi! I'm desperately trying to get a small application working with cocoon 2.2. I setup a new project using todays svn snapshot from trunk and the cocoon-22-archetype-webapp version 1.0.0-M2-SNAPSHOT.
When I try to start tomcat (5.5) using a java 5.0 sdk, I get the following exception: ERROR ContextLoader - Context initialization failed org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 41 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'. Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'. my applicationContext.xml looks like this: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xmlns:configurator="http://cocoon.apache.org/schema/configurator" xmlns:avalon="http://cocoon.apache.org/schema/avalon" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd http://cocoon.apache.org/schema/avalon http://cocoon.apache.org/schema/avalon/cocoon-avalon-1.0.xsd http://cocoon.apache.org/schema/configurator http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.xsd"> <!-- Activate Cocoon Spring Configurator --> <configurator:settings/> <!-- Configure Log4j --> <bean name="org.apache.cocoon.spring.configurator.log4j" class="org.apache.cocoon.spring.configurator.log4j.Log4JConfigurator" scope="singleton"> <property name="settings" ref="org.apache.cocoon.configuration.Settings"/> <property name="resource" value="/WEB-INF/log4j.xml"/> </bean> <!-- Activate Avalon Bridge --> <avalon:bridge /> <!-- My own bean definitions --> </beans> The web.xml is original from the snapshot. In my pom.xml I included <dependency> <groupId>org.apache.cocoon</groupId> <artifactId>cocoon-core</artifactId> <version>2.2.0-RC1-SNAPSHOT</version> </dependency> Any ideas how to solve the problem? TIA Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
