You still have a classpath issue. Verify that camel-core jar file is well included
On Fri, Nov 29, 2013 at 3:46 AM, Claire <claire.chanm...@newgens.com.sg>wrote: > I wonder if this because of the way I called Exchange? Here's the full > exception. > > *Application context refresh failed > > (OsgiBundleXmlApplicationContext(bundle=com.swift.iplasa.flows.NTUCLite2Adapter-FromSWIFT-Exchange, > config=osgibundle:/META-INF/spring/*.xml)) > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'headerBean' defined in URL > [bundle://331.0:0/META-INF/spring/routes.xml]: Initialization of bean > failed; nested exception is java.lang.NoClassDefFoundError: > org/apache/camel/Exchange* > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-org-apache-camel-Exchange-tp5743878p5744059.html > Sent from the Camel Development mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io