Hello, I tried installing mysensors binding 2.4 by dropping jar file in addons folder and restarting openhab, but when server restarts i get following error message:
2019-01-19 10:10:32.637 [ERROR] [org.openhab.binding.mysensors ] - FrameworkEvent ERROR - org.openhab.binding.mysensors
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [262]
2019-01-19 10:10:33.471 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.mysensors-2.4.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [262]
2019-01-19 10:10:43.551 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.mysensors-2.4.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [262]
I know next to nothing about JAVA so i have no idea what the problem could be. Neither can i find anything on the fora. Iām running openhab 2.4.0-1 release build. I preveously had mysensors binding 2.2 installed (wich did show up in paperUI). Any advice is welcome. Allready tried removing and installing again. Allso deleted all mysensors things and item files i had from previous 2.2 binding but still no result. I got the jar file for the binding from here: http://www.oberfoell.com/openhab2/org.openhab.binding.mysensors-2.4.0-SNAPSHOT.jar
When i use openhab console => bundle:diag i get this output:
openhab> bundle:diag
MySensors Binding (263)
-----------------------
Status: Installed
Unsatisfied Requirements:
osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.jdt.annotation)"; resolution:="optional"
osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.io.tran sport.mqtt)"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors )"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors .handler)"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors .config)"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors .converter)"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors .discovery)"
osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.binding.mysensors .factory)"
Declarative Services
dont know if this helps
I found it, after installing MQQT binding it works. But for future reference how can i see wich dependencies are needed?