Announcement Announcement Module
No announcement yet.
Calling a class from a bundle that uses Spring Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.


  • #2
    I'm afraid this forum is for dm Server discussion, so you would probably find it more helpful to post to a Knopflerfish or Spring forum.