You need two things, the package to be exported from the bundle which contains 
the BTBundle class, and the package to be imported from the bundle which show 
you this issue.

I advise you to check what has been put in these two bundles. Check both 
MANAFEST.MF files (also pay attention to the versions if specified).

JP


-----Message d'origine-----
De : imo [mailto:[email protected]] 
Envoyé : mercredi 9 mars 2016 10:40
À : [email protected]
Objet : RE: Felix+Bkuetooth: Missing requirement?

Thanks JP...

I have done this since i read your replay:

In netbeans: RClick project | properties | Export packages | and checked 
com.mycompany.BTBundle  (Explicit selected packages)

Then:

g! uninstall 19
g! install file:/home/ ...  ..  /BTBundle-1.0-SNAPSHOT.jar Bundle ID: 20 g! 
start 20

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

Any further help? 

Thank you



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

---------------------------------------------------------------------
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]

Reply via email to