java.lang.NoSuchMethodError: org.apache.http.HttpHost.getAddress()Ljava/net/InetAddress;

Stack Overflow | Santosh Patil | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    While making post call i am getting below exception

    Stack Overflow | 8 months ago | Santosh Patil
    java.lang.NoSuchMethodError: org.apache.http.HttpHost.getAddress()Ljava/net/InetAddress;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.http.HttpHost.getAddress()Ljava/net/InetAddress;

      at org.apache.http.impl.conn.HttpClientConnectionOperator.connect()
    2. Apache HttpClient
      HttpClientConnectionOperator.connect
      1. org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:102)
      1 frame