Failed to bind restate endpoind due to java.lang.NoClassDefFoundError: io/vertx/core/http/impl/HttpServerRequestInternal
Dependencies:
- Vertx 5.1.3
- restate-sdk-java 2.8.0
- restate-server 1.7.0
java.lang.NoClassDefFoundError: io/vertx/core/http/impl/HttpServerRequestInternal
at dev.restate.sdk.http.vertx.HttpEndpointRequestHandler.handle(HttpEndpointRequestHandler.java:53)
at dev.restate.sdk.http.vertx.HttpEndpointRequestHandler.handle(HttpEndpointRequestHandler.java:34)
at io.vertx.core.http.impl.HttpServerRequestImpl.handleHeaders(HttpServerRequestImpl.java:135)
at io.vertx.core.internal.ContextInternal.dispatch(ContextInternal.java:257)
at io.vertx.core.http.impl.http2.DefaultHttp2ServerStream.handleHeader(DefaultHttp2ServerStream.java:162)
at io.vertx.core.impl.ContextBase.execute(ContextBase.java:112)
at io.vertx.core.http.impl.http2.DefaultHttp2Stream.onHeaders(DefaultHttp2Stream.java:207)
at io.vertx.core.http.impl.http2.DefaultHttp2ServerStream.onHeaders(DefaultHttp2ServerStream.java:138)
at io.vertx.core.http.impl.http2.codec.Http2ServerConnectionImpl.onHeadersRead(Http2ServerConnectionImpl.java:149)
at io.vertx.core.http.impl.http2.codec.Http2ConnectionImpl.onHeadersRead(Http2ConnectionImpl.java:198)
at io.vertx.core.http.impl.http2.codec.Http2ServerConnectionImpl.onHeadersRead(Http2ServerConnectionImpl.java:49)
at io.netty.handler.codec.http2.Http2FrameListenerDecorator.onHeadersRead(Http2FrameListenerDecorator.java:46)
at io.netty.handler.codec.http2.Http2FrameListenerDecorator.onHeadersRead(Http2FrameListenerDecorator.java:46)
at io.netty.handler.codec.http2.Http2EmptyDataFrameListener.onHeadersRead(Http2EmptyDataFrameListener.java:63)
at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$FrameReadListener.onHeadersRead(DefaultHttp2ConnectionDecoder.java:423)
at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$FrameReadListener.onHeadersRead(DefaultHttp2ConnectionDecoder.java:338)
at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$PrefaceFrameListener.onHeadersRead(DefaultHttp2ConnectionDecoder.java:720)
at io.netty.handler.codec.http2.DefaultHttp2FrameReader$2.processFragment(DefaultHttp2FrameReader.java:489)
at io.netty.handler.codec.http2.DefaultHttp2FrameReader.readHeadersFrame(DefaultHttp2FrameReader.java:497)
at io.netty.handler.codec.http2.DefaultHttp2FrameReader.processPayloadState(DefaultHttp2FrameReader.java:257)
at io.netty.handler.codec.http2.DefaultHttp2FrameReader.readFrame(DefaultHttp2FrameReader.java:174)
at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder.decodeFrame(DefaultHttp2ConnectionDecoder.java:186)
at io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder.decodeFrame(DecoratingHttp2ConnectionDecoder.java:61)
at io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder.decodeFrame(DecoratingHttp2ConnectionDecoder.java:61)
at io.netty.handler.codec.http2.Http2ConnectionHandler$FrameDecoder.decode(Http2ConnectionHandler.java:413)
at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:258)
at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:473)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:545)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:484)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.vertx.core.http.impl.http2.codec.VertxHttp2ConnectionHandler.channelRead(VertxHttp2ConnectionHandler.java:417)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.vertx.core.http.impl.tcp.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
at io.vertx.core.http.impl.tcp.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:44)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:176)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445)
at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:388)
at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:596)
at io.netty.channel.nio.NioIoHandler.processSelectedKeysPlain(NioIoHandler.java:541)
at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:514)
at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:484)
at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1195)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.ClassNotFoundException: io.vertx.core.http.impl.HttpServerRequestInternal
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 50 common frames omitted
Caused by: java.lang.ClassNotFoundException: io.vertx.core.http.impl.HttpServerRequestInternal
Failed to bind restate endpoind due to
java.lang.NoClassDefFoundError: io/vertx/core/http/impl/HttpServerRequestInternalDependencies: