Results 1 to 5 of 5

Thread: com.springsource.kernel.osgi.framework.ExtendedCla ssNotFoundException

Threaded View

  1. #1
    Join Date
    Mar 2010
    Posts
    28

    Default com.springsource.kernel.osgi.framework.ExtendedCla ssNotFoundException

    Hi,

    I get 'class not found' exception while have the following bundles structure and run on DM Server 2.0.0 RELEASE:

    Bundle A exposes OSGI service and imports Bundle B

    Bundle B tries to load class of Bundle A and get class not found exception:

    Code:
    com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: com.ServiceProvider in KernelBundleClassLoader: [bundle=B]
    Class com.ServiceProvider resides in bundle A
    Exception is thrown from Bundle B

    My question is why this happens ? All bundles loaded and started successfully. Does each bundle loaded by different class loaders ?

    Thanks,
    Pavel
    Last edited by pavel.orehov; Apr 26th, 2010 at 01:25 PM.

Posting Permissions

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