Calling a class from a bundle that uses Spring
I have a project that I have successfully deployed on OSGi platform (Knopflerfish) that uses Spring. I can successfully install this bundle and start it (I can also run it as a standalone app). But I am unable to call a service from this bundle from another. I have switched from ClassPathXmlApplicationContext to OsgiBundleXmlApplicationContext but I get NoClassDefFoundError on OsgiBundleXmlApplicationContext. With ClassPathXmlApplicationContext I get into AOP Namespace issues. The second bundle does not use Spring directly. Any help is appreciated. A link to a working example would be a great help too.