Error on installation of the Openhab Cloud Connector on OH2 (SNAPSHOT as of 2016.12.20)

Hi,

I get the following error on loading the cloud connector binding:

        2016-12-20 20:34:14.197 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/opt/openhab2/addons/org.openhab.io.openhabcloud_1.9.0.201612192331.jar
    org.osgi.framework.BundleException: Could not resolve module: org.openhab.io.openhabcloud [280]
      Unresolved requirement: Import-Package: org.openhab.config.core

            at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
            at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1207)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:504)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
    2016-12-20 20:34:14.216 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/opt/openhab2/addons/org.openhab.io.openhabcloud_1.9.0.201612192331.jar
    org.osgi.framework.BundleException: Could not resolve module: org.openhab.io.openhabcloud [280]
      Unresolved requirement: Import-Package: org.openhab.config.core

            at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
            at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
            at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
    2016-12-20 20:34:25.280 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 2;3;1;0;1;972

I updated my installation to the latest 2.0.0-SNAPSHOT build but still I get this error.

Any idea on how to solve this?

Thanks and br, Jürgen

Sounds as if you are trying to install the openHAB 1.x version of the connector on an openHAB 2 instance. In openHAB 2, you install add-ons directly through the Paper UI, see here.

Thanks it is working now.
I think it had something to do with the addons.cfg file => addons were uninstalled on starutp - there is at least one thread around regarding this topic. => add on was not available and I tried to manually install it (that was the 1.x version by mistake)

After setting up a new instance and copying only the files really needed it works finally.

Thanks, Jürgen