ClassCastException when using GenericApplicationContext
-------------------------------------------------------
Key: CAMEL-103
URL: https://issues.apache.org/activemq/browse/CAMEL-103
Project: Apache Camel
Issue Type: Bug
Components: camel-spring
Affects Versions: 1.1.0
Reporter: James Strachan
Fix For: 1.2.0
Caused by: java.lang.ClassCastException:
org.springframework.context.support.GenericApplicationContext
at
org.apache.camel.spring.SpringCamelContext.createInjector(SpringCamelCon
text.java:147)
at
org.apache.camel.impl.DefaultCamelContext.getInjector(DefaultCamelContex
t.java:322)
at
org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization(Defaul
tCamelContext.java:407)
at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.ja
va:373)
at
org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.ja
va:139)
at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:38)
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(Camel
ContextFactoryBean.java:103)
... 20 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.