GitHub user kenwenzel edited a comment on the discussion: Use newer version of
org.eclipse.osgi than the bundled one
@jbonofre I've tried to use the following `custom.properties`
```
karaf.framework=equinox
karaf.framework.equinox=mvn:org.eclipse.platform/org.eclipse.osgi/3.24.200
```
in combination with:
```
<installedBundles>
<bundle>mvn:org.eclipse.platform/org.eclipse.osgi/3.24.200</bundle>
</installedBundles>
```
Unfortunately, I get the following error:
```
Jul 02, 2026 9:15:52 AM org.apache.karaf.main.Main main
SEVERE: Could not launch framework
java.lang.ClassNotFoundException: # Generated by bnd
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
at org.apache.karaf.main.Main.loadFrameworkFactory(Main.java:543)
at org.apache.karaf.main.Main.launch(Main.java:290)
at org.apache.karaf.main.Main.main(Main.java:183)
```
It seems that `Main` tries to use the comment `# Generated by bnd` as class
name.
GitHub link:
https://github.com/apache/karaf/discussions/2735#discussioncomment-17506393
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]