I am creating an OSGi bundle that will be executed under Kura (Target Platform: Kura Target Platform Equinox 3.8.1), on Raspberry Pi 2 model B.
The program should read data received on XBee and we want to use a library: https://github.com/andrewrapp/xbee-api
I created a new plugin project under Eclipse, "Plug-in from existing JAR archive" from the JAR files from the site above.
I tried to set the new plug in as "Required Plug-ins" in the MANIFEST.FM → Dependencies of my project, but that didn't work (java.lang.ClassNotFoundException)
I tried setting up a new folder in my project containing the library, but it is not working.
A similar question was asked, but I don't understand the answers because they are not detailed enough (Using an external java library in OSGI bundle).