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

Stack Overflow | Santosh Patil | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    While making post call i am getting below exception

    Stack Overflow | 6 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