java.lang.NoSuchMethodError: org.jboss.netty.handler.codec.http.HttpHeaders.set(Ljava/lang/String;Ljava/lang/Object;)Lorg/jboss/netty/handler/codec/http/HttpHeaders;

Google Groups | Alissa Pajer | 3 years 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

    basic docs example incorrect moving from 0.11.0 to 0.11.1

    Google Groups | 3 years ago | Alissa Pajer
    java.lang.NoSuchMethodError: org.jboss.netty.handler.codec.http.HttpHeaders.set(Ljava/lang/String;Ljava/lang/Object;)Lorg/jboss/netty/handler/codec/http/HttpHeaders;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.jboss.netty.handler.codec.http.HttpHeaders.set(Ljava/lang/String;Ljava/lang/Object;)Lorg/jboss/netty/handler/codec/http/HttpHeaders;

      at org.jboss.netty.handler.codec.http.DefaultHttpMessage.setHeader()
    2. Netty
      DefaultHttpMessage.setHeader
      1. org.jboss.netty.handler.codec.http.DefaultHttpMessage.setHeader(DefaultHttpMessage.java:54)
      1 frame
    3. Asynchronous Http Client
      AsyncHttpClient.executeRequest
      1. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.construct(NettyAsyncHttpProvider.java:691)
      2. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.buildRequest(NettyAsyncHttpProvider.java:648)
      3. com.ning.http.client.providers.netty.NettyConnectListener$Builder.build(NettyConnectListener.java:144)
      4. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:1068)
      5. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:933)
      6. com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:524)
      6 frames
    4. dispatch
      Http.apply
      1. dispatch.HttpExecutor$class.apply(execution.scala:47)
      2. dispatch.Http.apply(execution.scala:12)
      3. dispatch.HttpExecutor$class.apply(execution.scala:42)
      4. dispatch.Http.apply(execution.scala:12)
      4 frames