java.lang.NoSuchMethodError: org.apache.http.client.methods.HttpPost.setConfig(Lorg/apache/http/client/config/RequestConfig;)V

GitHub | malsmith | 5 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

    Problem retrieving a data set from wave to a dataframe Spark 2.0

    GitHub | 5 months ago | malsmith
    java.lang.NoSuchMethodError: org.apache.http.client.methods.HttpPost.setConfig(Lorg/apache/http/client/config/RequestConfig;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.http.client.methods.HttpPost.setConfig(Lorg/apache/http/client/config/RequestConfig;)V

      at com.springml.salesforce.wave.util.HTTPHelper.post()
    2. com.springml.salesforce
      WaveAPIImpl.queryWithPagination
      1. com.springml.salesforce.wave.util.HTTPHelper.post(HTTPHelper.java:50)
      2. com.springml.salesforce.wave.util.HTTPHelper.post(HTTPHelper.java:28)
      3. com.springml.salesforce.wave.impl.WaveAPIImpl.query(WaveAPIImpl.java:56)
      4. com.springml.salesforce.wave.impl.WaveAPIImpl.queryWithPagination(WaveAPIImpl.java:72)
      5. com.springml.salesforce.wave.impl.WaveAPIImpl.queryWithPagination(WaveAPIImpl.java:29)
      5 frames
    3. com.springml.spark
      DefaultSource.createRelation
      1. com.springml.spark.salesforce.DatasetRelation.queryWave(DatasetRelation.scala:69)
      2. com.springml.spark.salesforce.DatasetRelation.read(DatasetRelation.scala:54)
      3. com.springml.spark.salesforce.DatasetRelation.<init>(DatasetRelation.scala:48)
      4. com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:79)
      5. com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:53)
      6. com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:39)
      6 frames
    4. org.apache.spark
      DataSource.resolveRelation
      1. org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:315)
      1 frame
    5. Spark Project SQL
      DataFrameReader.load
      1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149)
      2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)
      2 frames