java.lang.RuntimeException: java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

GitHub | alugowski | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    grpc-netty on maven central depends on netty 4.1.2 but code assumes 4.1.1

    GitHub | 8 months ago | alugowski
    java.lang.RuntimeException: java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

      at io.grpc.stub.ClientCalls.blockingUnaryCall()
    2. io.grpc.stub
      ClientCalls.blockingUnaryCall
      1. io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:144)
      1 frame
    3. com.turn.platform
      ExecutorGrpc$ExecutorBlockingStub.doExec
      1. com.turn.platform.message.grpc.ExecutorGrpc$ExecutorBlockingStub.doExec(ExecutorGrpc.java:171)
      1 frame