I’m currently testing the netatmo binding from openhab2 inside a custom karaf-4.0.4 environment and I kept having runtime errors where the binding would fail to initialize, reporting a cryptic
javax/net/ssl/HostNameVerifier message next to the
I then fired up a debug session and I found out that a
NoClassDefFoundError was thrown as soon as the
ApiClient object was created. I then looked the
MANIFEST.MF of the project and found that the
Import-Package directive for
javax.net.ssl was missing, so I added it.
After this, another class inside the
javax.net package was not found, so I added it to the
After these two additions, the binding started working correctly.
Is this a bug?
If needed, I can submit a pull request on github with these modifications.