Results 1 to 2 of 2

Thread: Calling a class from a bundle that uses Spring

  1. #1
    Join Date
    Feb 2010
    Posts
    6

    Default Calling a class from a bundle that uses Spring

    Hi,
    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.

    Thanks,

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    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.
    Glyn Normington
    SpringSource

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •