- Platform information:
- OS: Debian 13.7
- openHAB version: 5.1.4
- Java Runtime Environment:
dpkg -l | grep jdk
ii default-jdk-headless 2:1.21-76 amd64 Standard Java or Java compatible Development Kit (headless)
ii openjdk-21-jdk-headless:amd64 21.0.12.1+1-1\~deb13u1 amd64 OpenJDK Development Kit (JDK) (headless)
ii openjdk-21-jre-headless:amd64 21.0.12.1+1-1\~deb13u1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless)
After upgrading my 5.1.4 install to 5.2.0 or 5.2.1, my startups immediately fail with this error:
2026-09-21 11:11:50.175 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Error installing bundle listed in startup.properties with url: mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.4.8 and startlevel: 1
at org.apache.karaf.main.Main.installAndStartBundles(Main.java:613)
at org.apache.karaf.main.Main.launch(Main.java:308)
at org.apache.karaf.main.Main.main(Main.java:183)
Caused by: java.lang.RuntimeException: Could not resolve mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.4.8
at org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
at org.apache.karaf.main.Main.installAndStartBundles(Main.java:605)
... 2 more
I found that bundle in data/etc/startup.properties and commented it out to see how that would affect my deployment, and got this error right after a restart:
2026-09-21 10:20:29.309 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Error installing bundle listed in startup.properties with url: mvn:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.4.8 and startlevel: 5
at org.apache.karaf.main.Main.installAndStartBundles(Main.java:613)
at org.apache.karaf.main.Main.launch(Main.java:308)
at org.apache.karaf.main.Main.main(Main.java:183)
Caused by: java.lang.RuntimeException: Could not resolve mvn:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.4.8
at org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
at org.apache.karaf.main.Main.installAndStartBundles(Main.java:605)
... 2 more
Which matches the sequence in data/etc/startup.properties:
# Bundles to be started on startup, with startlevel
mvn\:org.apache.karaf.features/org.apache.karaf.features.extension/4.4.8 = 1
mvn\:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.4.8 = 5
mvn\:org.ops4j.pax.url/pax-url-aether/2.6.17 = 5
mvn\:org.fusesource.jansi/jansi/2.4.2 = 8
etc...
How can I make those bundles resolvable? The startup.properties definitions were previously working with version 5.1.4. It was only after updating to 5.2.0 or 5.2.1 with apt upgrade that my deployments started to break.