Hi I didn’t try. As micronaut is not OSGi compliant, and regarding the way it works about ClassLoaders, it won’t work out the box.
However, worth to use a uber bundle packaging micronaut: everything will be in the bundle classloader so it might work. Regards JB Le sam. 6 juin 2026 à 12:08, Steinar Bang <[email protected]> a écrit : > Does anyone here have any experience with running micronaut inside > apache karaf? > https://micronaut.io > > I am specifically looking for (and currently looking into) server side > react application javascript rendering, from a servlet started by the > OSGi HTTP Whiteboard, and am wondering where/if micronaut could fit into > that. > > But any experience anyone might have with micronaut inside apache karaf > is of interest. > > I am aware that micronaut isn't OSGi compliant and that it is written > expecting a single classloader with a flat classpath. > > I am also aware that Micronaut doesn't natively use the servlet API, but > instead has its own embedded HTTP server. But I have googled up this > thing: > > https://micronaut.io/2020/03/03/back-to-the-future-with-micronaut-servlet/ > > Thanks! > >
