# I got error when use "elasticsearch-rest-high-level-client 7.5.1"

**URL:** <https://discuss.elastic.co/t/i-got-error-when-use-elasticsearch-rest-high-level-client-7-5-1/213171>\
**Category:** Elasticsearch\
**Created:** [December 27, 2019, 9:58am UTC](https://discuss.elastic.co/t/i-got-error-when-use-elasticsearch-rest-high-level-client-7-5-1/213171 "2019-12-27T09:58:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xodn0812](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Post date:** [December 27, 2019, 9:58am UTC](https://discuss.elastic.co/t/i-got-error-when-use-elasticsearch-rest-high-level-client-7-5-1/213171/1 "2019-12-27T09:58:19Z")

</div>

If i use elasticsearch-rest-high-level-client version 7.5.1, i got the following error:

> NoClassDefFoundError: org/elasticsearch/client/Cancellable

However, if i use lower version to 7.4.x, it works fine.  
I followed the guide and tried it on several computers.  
i use gradle.  
Is this just me?

---

<div class="post-metadata">

**Author:** ![KashinathPatil](https://avatars.discourse-cdn.com/v4/letter/k/91b2a8/32.png) [@KashinathPatil](https://discuss.elastic.co/u/KashinathPatil)\
**Post date:** [December 27, 2019, 12:03pm UTC](https://discuss.elastic.co/t/i-got-error-when-use-elasticsearch-rest-high-level-client-7-5-1/213171/2 "2019-12-27T12:03:55Z")

</div>

> [@xodn0812](#):
>
> i use gradle.

Please check below URL, it might help you

> [@java.lang.NoClassDefFoundError: org/elasticsearch/transport/TcpChannel](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-transport-tcpchannel/112875/11):
>
> Got the issue it was conflicting with restclient version thanks for the response @rjernst

---

<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:** [January 24, 2020, 12:04pm UTC](https://discuss.elastic.co/t/i-got-error-when-use-elasticsearch-rest-high-level-client-7-5-1/213171/3 "2020-01-24T12:04:01Z")

</div>

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