java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9300

  • org.apache.http.client.methods.HttpPost.setConfig(Lorg/apache/http/client/config/RequestConfig;)V
  • org.apache.http.impl.client.DefaultHttpClient.setRedirectStrategy(Lorg/apache/http/client/RedirectStrategy;)V
  • via GitHub by eed3si9n
    , 7 months ago
    dispatch.ConfiguredHttpClient.setRedirectStrategy(Lorg/apache/http/client/RedirectStrategy;)V
  • Stack trace

    • 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(HTTPHelper.java:50) at com.springml.salesforce.wave.util.HTTPHelper.post(HTTPHelper.java:28) at com.springml.salesforce.wave.impl.WaveAPIImpl.query(WaveAPIImpl.java:56) at com.springml.salesforce.wave.impl.WaveAPIImpl.queryWithPagination(WaveAPIImpl.java:72) at com.springml.salesforce.wave.impl.WaveAPIImpl.queryWithPagination(WaveAPIImpl.java:29) at com.springml.spark.salesforce.DatasetRelation.queryWave(DatasetRelation.scala:69) at com.springml.spark.salesforce.DatasetRelation.read(DatasetRelation.scala:54) at com.springml.spark.salesforce.DatasetRelation.<init>(DatasetRelation.scala:48) at com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:79) at com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:53) at com.springml.spark.salesforce.DefaultSource.createRelation(DefaultSource.scala:39) at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:315) at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149) at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.