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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by malsmith
, 1 year ago
org.apache.http.client.methods.HttpPost.setConfig(Lorg/apache/http/client/config/RequestConfig;)V
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.(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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.