How to solve HTTP.* jar problem?

import: Servlet.service() for servlet [spring] in context with path [/elearning-training] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.http.util.Asserts.check(ZLjava/lang/String;Ljava/lang/Object;)V] with root cause
java.lang.NoSuchMethodError: org.apache.http.util.Asserts.check(ZLjava/lang/String;Ljava/lang/Object;)V
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(CloseableHttpAsyncClientBase.java:90)
at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:123)
at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:68)
at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:299)
at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:290)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:211)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:185)

Hey,

very rough guess - are you using a different HTTP client version maybe?

--Alex

I have solved this problem . Thank you

Hey,

How did you solve this?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.