Well, as i am starting the project, the bundle project has just one package
with one bundle class, service interface and service implementation all in
the same package com.mycompany.BTBundle;

It seems that the package needs to export the package for its own
consumption (during service instantiation)?

Anyway, I have right clicked netbeans dependencies (where there is already
the bluecove, bluecove-gpl and osgi core) and added the dependency for the
artifact representing the app bundle. Now the BT bundle is also listed in
the dependencies node and the project compiles without errors.

However, after uninstall, install and start I see the same error:

org.osgi.framework.BundleException: Unable to resolve com.mycompany.BTBundle
[21](R 21.0): missing requirement [com.mycompany.BTBundle [21](R 21.0)]
osgi.wiring.package; (osgi.wiring.package=com.ibm.oti.connection) Unresolved
requirements: [[com.mycompany.BTBundle [21](R 21.0)] osgi.wiring.package;
(osgi.wiring.package=com.ibm.oti.connection)]





--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Felix-Bluetooth-Missing-requirement-tp5016686p5016701.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

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

Reply via email to