I was having some issues with the HTTP binding and thought I would uninstall/reinstall it as a way of troubleshooting.
After uninstalling, I was unable to reinstall through HABmin and started getting this from Karaf:
[Fatal Error] :1:3: The markup in the document preceding the root element must be well-formed.
In the past, I’ve been able to fix the :1:3: error by deleting OpenHAB and starting fresh, so I did.
I’m now getting the :1:3: error from a fresh installation, and I still can’t get the HTTP binding to install. Here’s the error I get in the log:
2016-09-01 15:48:02.497 [ExtensionEvent ] - binding-http: org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-runtime-compat1x; type=karaf.feature; version=0 [caused by: Unable to resolve openhab-runtime-compat1x/2.0.0.SNAPSHOT: missing requirement [openhab-runtime-compat1x/2.0.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.compat1x; type=osgi.bundle; version="[188.8.131.52608301450,184.108.40.206608301450]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.compat1x/220.127.116.11608301450: missing requirement [org.openhab.core.compat1x/18.104.22.168608301450] osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.core.audio)"]]
The I was able to install the LIFX and Orvibo bindings, and HABmin without difficulty.
After some trial and error, it looks like all OH1 bindings have this problem, while Smarthome and OH2 bindings do not.
I’ve made sure that I have ownership of the openhab directory, and I’m running Karaf as Administrator (in case permissions were an issue).
Any thoughts on what is causing these problems?
EDIT: I tried, per another user with the same issue (in Karaf)
But I get the same error as when I attempt to install HTTP binding.