# ElasticSearch 8.12.1 with HighLevelRestClient/JavaClient not working

**URL:** https://discuss.elastic.co/t/elasticsearch-8-12-1-with-highlevelrestclient-javaclient-not-working/353888
**Category:** Elasticsearch
**Tags:** language-clients
**Created:** [February 22, 2024, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-8-12-1-with-highlevelrestclient-javaclient-not-working/353888 "2024-02-22T13:34:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![frank-montyne](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@frank-montyne](https://discuss.elastic.co/u/frank-montyne)
#### Post date: [February 22, 2024, 2:06pm UTC](https://discuss.elastic.co/t/elasticsearch-8-12-1-with-highlevelrestclient-javaclient-not-working/353888/2 "2024-02-22T14:06:35Z")

</div>

Meanwhile after some further investigation I got things to work with an older version of the JavaClient. When I am using the 7.17.18 artifacts for all the org.elasticsearch and org.elasticsearch.client artifacts and the 8.11.4 version for the co.elastic.clients elasticsearch-java artifact I can connect without problems. If I use version 8.12.1 I get java.lang.NoSuchMethodError: 'org.elasticsearch.client.RequestOptions$Builder org.elasticsearch.client.RequestOptions$Builder.setHttpAsyncResponseConsumerFactory(org.elasticsearch.client.HttpAsyncResponseConsumerFactory)'

Should I file a bug or am i doing something wrong?

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-8-12-1-with-highlevelrestclient-javaclient-not-working/353888)._
