Error while starting bundle

Hi,
I’m trying to manually install an Openhab1x binding. Compability is set to ON in the Paper UI.
In my log I have following error:
> Error while starting bundle: file:/C:/OpenHab/addons/org.openhab.binding.simatic-1.9.0-SNAPSHOT.jar

org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.simatic [222]
  Unresolved requirement: Import-Package: org.openhab.core.binding

With this command “list | grep -i binding” in Karaf I have the Simatic binding ‘installed’ but not ‘active’:
136 │ Active │ 80 │ 2.5.0 │ openHAB Core :: Bundles :: Binding XML
220 │ Active │ 80 │ 2.5.0 │ openHAB Add-ons :: Bundles :: Modbus Binding
222 │ Installed │ 80 │ 1.9.0.201901290812 │ openHAB Simatic Binding

Any ideas? How do i solve above error?

Thanks,
Tom.

  • Platform information: 64bit
    • Hardware: _CPUArchitecture: Core i5/RAM 12 GB /storage_256GB
    • OS: WIN10 (laptop for now, if it works i’ll switch to a pi)_
    • Java Runtime Environment: java version “1.8.0_231”
    • openHAB version: 2.5

You do not seem to have the 1.x compatibility layer installed.
Try a

openhab> feature:install openhab-runtime-compat1x

first.

Dear Kai,

thanks, that worked!!!
In the past i used linux a lot and always used ‘install …’ now i had to type ‘feature:install’. Feel a bit like an idiot…

Have a nice evening, Rgds, Tom.

2 Likes