Unresolved requirement: Import-Package: org.apache.commons.collections - Unresolved requirement: Import-Package: org.sputnikdev.bluetooth
I tried to install binding, but i notice the following errors from Log viewer (frontail):
[WARN ] [lace.internal.BundleExtensionHandler] - Installed bundle, but failed to start it: Could not resolve module: org.sputnikdev.org.eclipse.smarthome.binding.bluetooth [212]
Unresolved requirement: Import-Package: org.apache.commons.collections
[WARN ] [lace.internal.BundleExtensionHandler] - Installed bundle, but failed to start it: Could not resolve module: org.sputnikdev.org.eclipse.smarthome.binding.bluetooth.transport.tinyb [211]
Unresolved requirement: Import-Package: org.sputnikdev.bluetooth
About bluetooth service:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-03-14 16:24:56 CET; 7s ago
Docs: man:bluetoothd(8)
Main PID: 11508 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2319)
Memory: 504.0K
CGroup: /system.slice/bluetooth.service
└─11508 /usr/libexec/bluetooth/bluetoothd
mar 14 16:24:56 RPi systemd[1]: Starting Bluetooth service...
mar 14 16:24:56 RPi bluetoothd[11508]: Bluetooth daemon 5.47
mar 14 16:24:56 RPi systemd[1]: Started Bluetooth service.
mar 14 16:24:56 RPi bluetoothd[11508]: Starting SDP server
mar 14 16:24:56 RPi bluetoothd[11508]: Bluetooth management interface 1.14 initialized
About bluetooth bindings:
openhab> bundle:list | grep bluetooth
244 | Installed | 80 | 1.1.3 | org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.tinyb
245 | Installed | 80 | 1.1.6 | org.sputnikdev:org.eclipse.smarthome.binding.bluetooth
About the platform:
Raspberry Pi 3 Model B+
openHABian v1.5 based on Debian Buster
Do you have any advice to solve them?
Thanks in advance, regards
Just installed the Bluetooth Binding following the steps in readme. But not able to scan for Bluetooth devices, because this binding is not shown in Paper UI. I have a similar exception in logs /var/log/openhab2/openhab.log:
[WARN ] [lace.internal.BundleExtensionHandler] - Installed bundle, but failed to start it: Could not resolve module: org.sputnikdev.org.eclipse.smarthome.binding.bluetooth.transport.tinyb [243]
Unresolved requirement: Import-Package: org.sputnikdev.bluetooth
[WARN ] [lace.internal.BundleExtensionHandler] - Installed bundle, but failed to start it: Could not resolve module: org.sputnikdev.org.eclipse.smarthome.binding.bluetooth [244]
Unresolved requirement: Import-Package: org.apache.commons.collections
diagnostics info

dpkg --list | grep openhab

sudo systemctl status bluetooth.service

dmesg | grep Blue

uname -a

lsb_release -a

this issue is a possible duplicate of #91
Caused by org.apach.commons.collections being removed from OH2.5. Download this file and copy to /usr/share/openhab2/addons. The binding should then work correctly.