streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Letourneau <jletournea...@gmail.com>
Subject Re: Startup errors on "streams-web"
Date Wed, 20 Feb 2013 14:22:19 GMT
I've not tested with jetty, just with Tomcat and deploying the war.

But this seems like it can't find the Camel dependencies.

Jason

On Tue, Feb 19, 2013 at 8:39 PM, Craig McClanahan <craigmcc@apache.org> wrote:
> I'm trying to start up the web part of Apache Streams, by running "mvn
> jetty:run-exploded" in the "streams-web" subdirectory.  Doing so gives me
> the following startup errors:
>
> 2013-02-19 17:36:09.043:WARN:oejw.WebAppContext:Failed startup of context
> o.m.j.p.JettyWebAppContext{/,file:/home/craigmcc/Apache.Org/streams/streams-web/target/streams-web/},/home/craigmcc/Apache.Org/streams/streams-web/target/streams-web
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'context': Invocation of init method failed; nested
> exception is java.lang.NoSuchMethodError:
> org.apache.camel.model.RouteDefinitionHelper.prepareRoute(Lorg/apache/camel/CamelContext;Lorg/apache/camel/model/RouteDefinition;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
> at
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:248)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo.restartWebApp(JettyRunWarExplodedMojo.java:150)
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo$1.filesChanged(JettyRunWarExplodedMojo.java:104)
> at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:680)
> at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:546)
> at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
> at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:348)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Caused by:
> java.lang.NoSuchMethodError:
> org.apache.camel.model.RouteDefinitionHelper.prepareRoute(Lorg/apache/camel/CamelContext;Lorg/apache/camel/model/RouteDefinition;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
> at
> org.apache.camel.core.xml.AbstractCamelContextFactoryBean.prepareRoutes(AbstractCamelContextFactoryBean.java:310)
> at
> org.apache.camel.core.xml.AbstractCamelContextFactoryBean.afterPropertiesSet(AbstractCamelContextFactoryBean.java:290)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
> at
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:248)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo.restartWebApp(JettyRunWarExplodedMojo.java:150)
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo$1.filesChanged(JettyRunWarExplodedMojo.java:104)
> at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:680)
> at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:546)
> at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
> at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:348)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> 2013-02-19 17:36:09,038 [Scanner-0      ] ERROR ContextLoader
>    - Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'context': Invocation of init method failed; nested
> exception is java.lang.NoSuchMethodError:
> org.apache.camel.model.RouteDefinitionHelper.prepareRoute(Lorg/apache/camel/CamelContext;Lorg/apache/camel/model/RouteDefinition;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)[streams-components-all-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
> at
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:248)[jetty-maven-plugin-7.5.3.v20111011.jar:7.5.3.v20111011]
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo.restartWebApp(JettyRunWarExplodedMojo.java:150)[jetty-maven-plugin-7.5.3.v20111011.jar:7.5.3.v20111011]
> at
> org.mortbay.jetty.plugin.JettyRunWarExplodedMojo$1.filesChanged(JettyRunWarExplodedMojo.java:104)[jetty-maven-plugin-7.5.3.v20111011.jar:7.5.3.v20111011]
> at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:680)
> at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:546)
> at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
> at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:348)
> at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_13]
> at java.util.TimerThread.run(Timer.java:505)[:1.7.0_13]
>
> Any ideas what I need to do to get this thing running?
>
> Craig

Mime
View raw message