NoClassDefFoundError: org.eclipse.smarthome.core.types.Command not found by org.openhab.binding.bluetooth.bluez

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: _what OS is used and which version_Ubuntu 18.04
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 2.5.x
  • Issue of the topic: please be detailed explaining your issue
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

When I try to install bluez binding and when thing INITIALIZING I got this error
java.lang.NoClassDefFoundError: org.eclipse.smarthome.core.types.Command not found by org.openhab.binding.bluetooth.bluez [190]
at com.sun.proxy.$Proxy121.(Unknown Source) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance( ~[?:?]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( ~[?:?]
at java.lang.reflect.Constructor.newInstance( ~[?:?]
at java.lang.reflect.Proxy.newProxyInstance( ~[?:?]
at org.eclipse.smarthome.core.internal.common.SafeCallerBuilderImpl.lambda$0( ~[?:?]
at Method) ~[?:?]
at ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.doInitializeHandler( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.initializeHandler( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.registerAndInitializeHandler( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.thingAdded( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement( ~[?:?]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement( ~[?:?]
at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added( ~[?:?]


What Java version and what version of OH 2.5 ?

Java 8 must be used.

openHAB 2.5 includes refactoring removing org.eclipse.smarthome references.
Maybe this extension missed some refactoring to match?

Have you installed the basic Bluetooth binding for this extension?

1 Like

I’m using java 8 and OH 2.5.4

yes I installed Bluetooth binding