dependencies - OSGi Import-Package: did I get the wrong package? -


i'm trying use osgi bundle, it's stuck in "installed" state , won't resolve. when try start it, following message:

org.osgi.framework.bundleexception: not resolve module: org.apache.felix.gogo.usocklistener [6]     unresolved requirement: import-package: org.osgi.service.command; version="0.7.0.snapshot" 

here current list of bundles:

start level 6    id|state      |level|name     0|active     |    0|osgi system bundle (3.10.100.v20140909-1519)     1|active     |    4|osgi release 4.2.0 services (3.4.0.v20140909-1519)     2|active     |    4|osgi release 4.2.0 utility classes (3.3.0.v20140909-1519)     3|active     |    4|apache felix gogo command (0.14.0)     4|active     |    4|apache felix gogo runtime (0.12.1)     5|active     |    4|apache felix gogo shell (0.10.0)     6|installed  |    4|apache felix gogo usocklistener (1.0.0.snapshot)     7|installed  |    4|apache felix web management console (4.2.3.snapshot)     8|active     |    4|apache felix configuration admin service (1.8.1.snapshot)     9|active     |    4|apache felix eventadmin (1.3.2)    10|active     |    4|console plug-in (1.1.100.v20140828-1547)    11|active     |    4|log service bundle (1.2.300.v20140828-1634)    12|active     |    4|http services servlet (1.1.500.v20140909-1612)    13|installed  |    4|jetty http service (3.0.200.v20140828-1634)    15|active     |    4|servlet-api bundle (2.4.0.snapshot) 

so, need org.osgi.service.command bundle, of @ least v0.7.0 (it "at least", , not "exactly", right?). have org.eclipse.osgi.services-3.4.0 bundle, , it's active. if doesn't contain command bundle need, don't know look.

does org.eclipse.osgi.services-3.4.0 include org.osgi.service.command? if not, can find org.osgi.service.command (preferably in source form rather binary form)?

to find package:

here result: http://search.maven.org/#search%7cga%7c1%7cfc%3a%22org.osgi.service.command%22

based on result, can find original project or can download source jar.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -