If you want to send me personally a simple project (with source) to recreate the issue, I'll take a look at it.

-> richard

On 8/3/11 10:43, Quecas wrote:
I've managed to turn up the Felix log level and I am convinced that my
problem is that package org.me.osgi.app1.spi.service is not in the inner
system.bundle classpath.

My understanding was that the executing environment
(hostingBundle/outerBundle) would automatically export everything in it's
classpath over to the framework (in this case inner system.bundle) -
considering that that package org.me.osgi.app1.spi.service is also being
referenced in the outerBundle.

Do I have to explicitly import package org.me.osgi.app1.spi.service in the
inner system.bundle scenario (isn't necessary with an outer launch of the
framework)

The log output...
Package 'org.me.osgi.app1.spi.service' is imported by bundle
org.me.osgi.app1.plugins.greetingservice [6] from bundle
org.apache.felix.framework [0],
but the exported package from bundle org.apache.felix.framework [0] does not
contain the requested class 'org.me.osgi.app1.spi.service.ServiceProvider '.
Please verify that the class name is correct in the importing bundle
org.me.osgi.app1.plugins.greetingservice [6]
and/or that the exported package is correctly bundled in
org.apache.felix.framework [0].


Thanks
Jorge
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to