cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Heiden <martin.hei...@netcologne.de>
Subject Re[2]: applicationContext: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'
Date Thu, 15 Feb 2007 20:08:49 GMT
Hi Grzegorz,

Wednesday, February 14, 2007, 11:48:35 PM, you wrote:

GK> Your configuration seem to look fine. Have you tried running it on
GK> Jetty? Go to your webapp app and type:
GK> mvn clean package jetty:run -X

Debug info attached.

GK> and attach full debugging information. Also go to core\cocoon-webapp and
GK> type:
GK> mvn clean package jetty:run
GK> and tell us if it's working.

It shows the same problem. So I'll take a look at my cocoon sources...

Thanks for the help!

Martin.



[DEBUG] Adding artifact aopalliance-1.0.jar for WEB-INF/lib
[DEBUG] Adding artifact jakarta-bcel-20040329.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-logger-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-logging-1.0.4.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-databases-impl-1.0.0-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-pipeline-impl-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact avalon-framework-api-4.3.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-sourceresolve-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-sitemap-api-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact log4j-1.2.13.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-xmlutil-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-collections-3.1.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-jxpath-1.2.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-store-impl-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-pipeline-components-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-store-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-io-1.3.1.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-lang-2.3.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-xml-resolver-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-configuration-api-1.0.1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-pool-api-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-core-2.2.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-sitemap-components-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact spring-aop-2.0.2.jar for WEB-INF/lib
[DEBUG] Adding artifact xml-resolver-1.1.jar for WEB-INF/lib
[DEBUG] Adding artifact xalan-2.7.0.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-thread-api-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact ehcache-1.2.4.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-xml-api-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-pool-instrumented-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact concurrent-1.3.4.jar for WEB-INF/lib
[DEBUG] Adding artifact jakarta-regexp-1.4.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-spring-configurator-1.0.1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact spring-core-2.0.2.jar for WEB-INF/lib
[DEBUG] Adding artifact junit-3.8.jar for WEB-INF/lib
[DEBUG] Adding artifact spring-beans-2.0.2.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-util-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact commons-jexl-1.0.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-pipeline-api-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact hsqldb-1.8.0.1.jar for WEB-INF/lib
[DEBUG] Adding artifact xml-apis-1.3.02.jar for WEB-INF/lib
[DEBUG] Adding artifact spring-context-2.0.2.jar for WEB-INF/lib
[DEBUG] Adding artifact avalon-framework-impl-4.3.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-xml-impl-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact qdox-1.5.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-thread-impl-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact junitperf-1.8.jar for WEB-INF/lib
[DEBUG] Adding artifact cocoon-sitemap-impl-1.0.0-RC1-SNAPSHOT.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-datasource-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact spring-web-2.0.2.jar for WEB-INF/lib
[DEBUG] Adding artifact excalibur-instrument-api-2.1.jar for WEB-INF/lib
[DEBUG] Adding artifact xercesImpl-2.8.0.jar for WEB-INF/lib

[..] left out the classpath

[DEBUG] Started configuring web.xml, resource base=D:\heiden\Eigene Dateien\Workspace\NeueHomepage\target\NeueHomepage-1.0-SNAPSHOT
[DEBUG] Finished configuring web.xml
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2007-02-15 20:59:08.203:/:INFO:  Loading Spring root WebApplicationContext
2007-02-15 20:59:08.796::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@6ce26e{/,file:/D:/heiden/Eigene%20Dateien/Workspace/NeueHomepage/target/NeueHomepage-1.0-SNAPSHOT/}
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.sa
x.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'.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:292)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:451)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:421)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:228)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2007-02-15 20:59:08.812::WARN:  Nested in 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'.:
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'.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:292)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:451)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:421)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:228)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2007-02-15 20:59:08.875::INFO:  Started SelectChannelConnector @ 0.0.0.0:8888
[INFO] Started Jetty Server






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message