You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Benson Margulies <be...@basistech.com> on 2014/11/18 03:22:06 UTC

Embedding Felix and not finding org.osgi.framework

I am following the general line of breadcrumbs from:

http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html

and using felix 4.0.3. One of my bundles has an activator, so the
bundle plugin set up an Import-Package for org.osgi.framework. I tried
adding that to FRAMEWORK_SYSTEMPACKAGES_EXTRA, but that did not help.
Help?

ERROR: Bundle com.basistech.osgi.rosette-osgi-test-component [6] Error
starting file:/Users/benson/x/rosette-osgi/container/target/bundles/rosette-osgi-test-component-0.0.1-SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
com.basistech.osgi.rosette-osgi-test-component [6]: Unable to resolve
6.0: missing requirement [6.0] osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
com.basistech.osgi.rosette-osgi-test-component [6]: Unable to resolve
6.0: missing requirement [6.0] osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Embedding Felix and not finding org.osgi.framework

Posted by Benson Margulies <be...@basistech.com>.
Please ignore the below.

On Mon, Nov 17, 2014 at 9:22 PM, Benson Margulies <be...@basistech.com> wrote:
> I am following the general line of breadcrumbs from:
>
> http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html
>
> and using felix 4.0.3. One of my bundles has an activator, so the
> bundle plugin set up an Import-Package for org.osgi.framework. I tried
> adding that to FRAMEWORK_SYSTEMPACKAGES_EXTRA, but that did not help.
> Help?
>
> ERROR: Bundle com.basistech.osgi.rosette-osgi-test-component [6] Error
> starting file:/Users/benson/x/rosette-osgi/container/target/bundles/rosette-osgi-test-component-0.0.1-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> com.basistech.osgi.rosette-osgi-test-component [6]: Unable to resolve
> 6.0: missing requirement [6.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> com.basistech.osgi.rosette-osgi-test-component [6]: Unable to resolve
> 6.0: missing requirement [6.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org