Check your version of spring. Camel 2.7 requires Spring 3.x
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Andre
Sent: Tuesday, July 19, 2011 8:07 AM
To: rules-users(a)lists.jboss.org
Subject: Re: [rules-users] Drools Integration for which Camel Version?
thx
with version 2.7.0 this happens..
rror occurred while running main from: org.apache.camel.spring.Main
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:415)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NoSuchMethodError:
org.springframework.jms.listener.DefaultMessageListenerContainer.setTask
Executor(Ljava/util/concurrent/Executor;)V
at
org.apache.camel.component.jms.JmsEndpoint.configureListenerContainer(Jm
sEndpoint.java:189)
at
org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.ja
va:213)
at
org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.ja
va:157)
at
org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.ja
va:67)
at
org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenCo
nsumerRoute.java:61)
at
org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:
75)
at
org.apache.camel.impl.RouteService.warmUp(RouteService.java:128)
at
org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelCon
text.java:1832)
at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(Defau
ltCamelContext.java:1758)
at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultC
amelContext.java:1548)
at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelConte
xt.java:1440)
at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.ja
va:1336)
at
org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.ja
va:164)
at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:67)
at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:54)
at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java
:1314)
at
org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext
.java:203)
at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCame
lContext.java:101)
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(Camel
ContextFactoryBean.java:238)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.mult
icastEvent(SimpleApplicationEventMulticaster.java:97)
at
org.springframework.context.support.AbstractApplicationContext.publishEv
ent(AbstractApplicationContext.java:303)
at
org.springframework.context.support.AbstractApplicationContext.finishRef
resh(AbstractApplicationContext.java:911)
at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:428)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init
(ClassPathXmlApplicationContext.java:139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init
(ClassPathXmlApplicationContext.java:93)
at
org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:1
85)
at org.apache.camel.spring.Main.doStart(Main.java:139)
at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:67)
at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:54)
at org.apache.camel.impl.MainSupport.run(MainSupport.java:136)
at org.apache.camel.impl.MainSupport.run(MainSupport.java:322)
at org.apache.camel.spring.Main.main(Main.java:72)
... 6 more
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Integration-for-which-Camel-Ver
sion-tp3182385p3182611.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users