Description
Trying to start `bin/shell.bat|sh` with Java 11 results in:
Exception in thread "main" java.lang.NoClassDefFoundError: org/osgi/framework/FrameworkUtil
at org.ops4j.pax.logging.slf4j.Slf4jLoggerFactory.getLogger(Slf4jLoggerFactory.java:49)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
at org.apache.karaf.shell.impl.console.JLineTerminal.<clinit>(JLineTerminal.java:52)
at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:141)
at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:135)
at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:78)
at org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:60)
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.FrameworkUtil
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more
Attachments
Issue Links
- links to