Hi Yeah such kind of errors can often be about mixed versions of a library on the class path etc. So I would double check that you only use same version of Camel.
If you use maven then check the pom.xml On Thu, Jan 22, 2015 at 1:19 PM, geppo <[email protected]> wrote: > I am not type casting myself. > The cast is inside the class CamelTestSupport: > > > > All I'm doing is overriding the createCamelContext, which I've done > succesfully in the past: > > Do you know if the DefaultCamelContext in a previous version of Camel didn't > implement the interface ModelCamelContext? > Maybe Eclipse is picking up an older version from the Maven repository. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Cannot-cast-DefaultCamelContext-to-ModelCamelContext-tp5762012p5762015.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
