anurag
(Anurag Verma)
January 13, 2022, 12:54pm
1
Hardware: X64/8GB Ram, more than 100 gb available
OS: Windows 8.1
Java Runtime Environment:
openjdk version “11.0.13” 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
openHAB version: 3.2.0
Issue of the topic: Extracted zip and trying to run start.bat in command prompt. first time startup itself is failing, exceptions on console and log
Added logs in comment because posting logs here (inside code fences) raised error saying Beginner can post max 2 links…not sure what it means.
anurag
(Anurag Verma)
January 13, 2022, 12:55pm
2
2022-01-13 17:54:47.592 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-runtime-ui; type=karaf.feature; version="[3.2.0,3.2.0]"; filter:="(&(osgi.identity=openhab-runtime-ui)(type=karaf.feature)(version>=3.2.0)(version<=3.2.0))" [caused by: Unable to resolve openhab-runtime-ui/3.2.0: missing requirement [openhab-runtime-ui/3.2.0] osgi.identity; osgi.identity=org.openhab.ui; type=osgi.bundle; version="[3.2.0,3.2.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.ui/3.2.0: missing requirement [org.openhab.ui/3.2.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.core.net)" [caused by: Unable to resolve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-ui/3.2.0: missing requirement [openhab-runtime-ui/3.2.0] osgi.identity; osgi.identity=org.openhab.ui; type=osgi.bundle; version="[3.2.0,3.2.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.ui/3.2.0: missing requirement [org.openhab.ui/3.2.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.core.net)" [caused by: Unable to resolve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.ui/3.2.0: missing requirement [org.openhab.ui/3.2.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.core.net)" [caused by: Unable to resolve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.300.jar:?]
... 12 more
anurag
(Anurag Verma)
January 13, 2022, 1:04pm
3
My Bad, it was right in front of me…it uses JAVA_HOME which earlier was pointing to 1.8 for me. changed it to java 11 and it worked.
1 Like
rossko57
(Rossko57)
January 13, 2022, 1:09pm
4
anurag:
it uses JAVA_HOME
That is the usual Windows problem, well spotted. I did not think the message aligned with that!