# RestClient in 5.0.0-alpha4

**URL:** <https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509>\
**Category:** Elasticsearch\
**Created:** [July 1, 2016, 7:26am UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509 "2016-07-01T07:26:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aros](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aros](https://discuss.elastic.co/u/aros)\
**Post date:** [July 1, 2016, 7:26am UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/1 "2016-07-01T07:26:27Z")

</div>

Hi,

with the new release of alpha4 I was eager to test the new RestClient. Unfortunatly I aint get it working, there is no such class in the dependency, even the needed apache dependencies are misssing.

Did anyone get RestClient working with alpha4? If so, could you provide a short example? I tried the unit tests from elasticsearch, they don't even compile ☹

Thanks,  
Andrej

---

<div class="post-metadata">

**Author:** ![spinner0815](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@spinner0815](https://discuss.elastic.co/u/spinner0815)\
**Post date:** [July 1, 2016, 7:54am UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/2 "2016-07-01T07:54:18Z")

</div>

Same problem here. Can't find the RestClient in 5.0.0-alpha4

Do I need a special dependency?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 1, 2016, 7:55am UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/3 "2016-07-01T07:55:01Z")

</div>

There might be [an issue](https://github.com/elastic/elasticsearch/issues/19205) in the release.

We are looking at this ATM.

---

<div class="post-metadata">

**Author:** ![aros](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aros](https://discuss.elastic.co/u/aros)\
**Post date:** [July 1, 2016, 8:08am UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/4 "2016-07-01T08:08:41Z")

</div>

Thanks, David. I appreciate the fast response!

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [July 1, 2016, 12:30pm UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/5 "2016-07-01T12:30:39Z")

</div>

Hello everybody,  
sorry about the inconvenience, things should be working now as expected. Please let us know if you encounter other issues.

Cheers  
Luca

---

<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:** [July 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/restclient-in-5-0-0-alpha4/54509/6 "2017-07-05T22:38:57Z")

</div>


