java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V

Hot problem!
This exception has a lot of traffic. You can help 16 users by writing a short tip.

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 mukteshkrmishra
, 1 year ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
via GitHub by amitkhanal
, 1 year ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
via java-forum.org by Unknown author, 1 year ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
via Stack Overflow by Raveendar Reddy
, 5 months ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
via Stack Overflow by Pranay
, 2 months ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
via GitHub by cwichoski
, 1 year ago
org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:176)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:158)
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:73)
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:58)
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:51)
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:39)
at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.java:282)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:164)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:153)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:138)
at com.amazonaws.services.sqs.AmazonSQSClient.(AmazonSQSClient.java:231)
at TestApp.TestApp.TestInfluxWrite.main(TestInfluxWrite.java:39)

Users with the same issue

11 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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