On 4/21/10 4:55, Charles-Louis De Maere wrote:
Hi,
On 21/04/2010 10:33, Felix Meschberger wrote:
<Import-Package>
org.osgi.service.component;version="[1.1,2.0)",
org.osgi.framework;version="[1.5,2.0)",
...
</Import-Package>
You need the org.osgi.service.component API in version 1.1 or higher but
not 2.0. You have to install a bundle (or export from the system bundle)
the respective package. One example would be the Apache Felix
Declarative Services (SCR) bundle version 1.4.0.
Thanks for your answer ! In fact, the org.osgi.core and compendium
bundles were missing from the plugins directory, which caused this
error to occur !
You should likely not be using org.osgi.core or org.osgi.compendium as
bundles, since this generally leads to other issues. You'd be better off
find implementation bundles that also export the needed packages, e.g.,
the Felix SCR bundle.
-> richard
Now I'm up to finding the next dependency issue ;)
---------------------------------------------------------------------
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]