Hi all,

I am trying to deploy a Camel route application into apache Servicemix that I 
have previously deployed as a war.  I ported the application into FUSE IDE, and 
was able to do an initial run of the application via right click/run on the 
camelContext.xml.  However, when I deploy into ServiceMix via right 
click/deploy, I get the following ClassNotFoundException:

karaf@root> Exception in thread "SpringOsgiExtenderThread-2" org.springframework
.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframew
ork.beans.factory.config.PropertyPlaceholderConfigurer] for bean with name 'org.
springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in
URL [bundle://178.8:0/META-INF/spring/camelContext.xml]; nested exception is ja
va.lang.ClassNotFoundException: org.springframework.beans.factory.config.Propert
yPlaceholderConfigurer not found from bundle [simple-route]

I have a reference to this class in camelContext.xml.  I think this is the 
first of many classes that will not be found, as I do not understand how to get 
my dependencies installed into ServiceMix.  I tried installing spring-beans 
into servicemix with:

osgi:install wrap:mvn:springframework/spframework/spring-beans

and that worked, but did not resolve my class "resolution" issue.

Thanks!

Carl  Buxbaum
Software Architect
TradeStone Software
17 Rogers St. Suite 2; Gloucester, MA 01930
P: 978-515-5128 F : 978-281-0673
www.tradestonesoftware.com<http://www.tradestonesoftware.com>


DISCLAIMER: 
E-mails and attachments from TradeStone Software, Inc. are confidential.
If you are not the intended recipient, please notify the sender immediately by
replying to the e-mail, and then delete it without making copies or using it
in any way. No representation is made that this email or any attachments are
free of viruses. Virus scanning is recommended and is the responsibility of
the recipient.

Reply via email to