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:
Class com.ServiceProvider resides in bundle A
com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: com.ServiceProvider in KernelBundleClassLoader: [bundle=B]
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 ?