# How to solve HTTP.\* jar problem?

**URL:** https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340
**Category:** Elasticsearch
**Created:** [February 24, 2017, 3:13am UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340 "2017-02-24T03:13:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![2010](https://avatars.discourse-cdn.com/v4/letter/2/71c47a/32.png) [@2010](https://discuss.elastic.co/u/2010)
#### Post date: [February 24, 2017, 3:13am UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340/1 "2017-02-24T03:13:17Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [February 27, 2017, 8:36am UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340/2 "2017-02-27T08:36:13Z")

</div>

Hey,

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

--Alex

---

<div class="post-metadata">

### Author: ![2010](https://avatars.discourse-cdn.com/v4/letter/2/71c47a/32.png) [@2010](https://discuss.elastic.co/u/2010)
#### Post date: [March 1, 2017, 7:37am UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340/3 "2017-03-01T07:37:14Z")

</div>

I have solved this problem . Thank you

---

<div class="post-metadata">

### Author: ![fsmit3](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fsmit3](https://discuss.elastic.co/u/fsmit3)
#### Post date: [March 18, 2017, 1:27pm UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340/4 "2017-03-18T13:27:26Z")

</div>

Hey,

How did you solve this?

Thanks

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 15, 2017, 1:27pm UTC](https://discuss.elastic.co/t/how-to-solve-http-jar-problem/76340/5 "2017-04-15T13:27:28Z")

</div>

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