Hi Michael

It looks like a ClassLoading issue (the import is there but the class
comes from another classloader).

Did you try to set the TCCL just before creating the vertx HttpServer ?

Regards
JB

On Sun, Mar 17, 2024 at 5:54 PM Michael Elbaz <[email protected]> wrote:
>
> Hello i use vertx on Karaf everything is ok but when i want to run an vertx 
> http server (just http)
>
> vertx.createHttpServer()
>         .requestHandler(router)
>         .listen(8080)
>         .onSuccess(LOGGER::error)
>         .onFailure(LOGGER::error);
>
>
> i get this error java.lang.NoClassDefFoundError: javax/net/ssl/TrustManager 
> (i also get this one in karaf log:  Using the default address resolver as the 
> dns resolver could not be loaded)

Reply via email to