felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Zemann <oliver.zem...@gmail.com>
Subject My OSGi bundle does not find itself??
Date Wed, 05 Sep 2012 20:14:57 GMT
I have a project with some bundles. When i start it i get:

C:\Users\oli\Desktop\felix-framework-4.0.3>java -jar bin\felix.jar
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] 
: Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] 
: Enabling Jakarta Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] 
: Enabling Log4J API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] 
: Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] 
: Enabling JULI Logger API support.
ERROR: Bundle org.dyndns.soundi.SoundBox [18] Error starting 
file:/C:/Users/oli/Desktop/felix-framework-4.0.3/bundle/SoundBox-0.0.1-SNAPSHOT.jar 
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.
ndns.soundi.SoundBox [18]: Unable to resolve 18.0: missing requirement 
[18.0] osgi.wiring.package; 
(osgi.wiring.package=org.dyndns.soundi.soundbox))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.dyndns.soundi.SoundBox [18]: Unable to resolve 18.0: missing 
requirement [18.0] osgi.wiring.package; 
(osgi.wiring.package=org.dyndns.soundi.soundb
)
         at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
         at 
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
         at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
         at java.lang.Thread.run(Unknown Source)
Registering Util Object!
____________________________
Welcome to Apache Felix Gogo

g!

I checked the export dialog in netbeans which exports 
"org.dyndns.soundi.soundbox" - so it should find itself. I am really 
confused whats wrong now. It compiles fine without any problems.

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


Mime
View raw message