karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-6525) bin/shell.bat|sh could not find org.osgi.framework.FrameworkUtil
Date Wed, 08 Jan 2020 07:01:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-6525.
-----------------------------------------
    Resolution: Fixed

> bin/shell.bat|sh could not find org.osgi.framework.FrameworkUtil
> ----------------------------------------------------------------
>
>                 Key: KARAF-6525
>                 URL: https://issues.apache.org/jira/browse/KARAF-6525
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.7
>            Reporter: Aleksandar Vasilev
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: shell
>             Fix For: 4.3.0, 4.2.8
>
>
> 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
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message