Need compatible version of x-pack-transport of org.elasticsearch.client with ElasticSearch 6.8.2

We are using elasticsearch 6.8.2.
Existing code is using TrasportClient for connection with ElasticSEarch from Java code.
Now there is ELastiSearch userid and password.
So we are trying to use x-pack-transport dependency of org.elasticsearch.client.
But not able to find compatible x-pack-transport version in maven repo.
Our application is using maven.

I am getting the following Exception for

nested exception is java.lang.NoSuchMethodError: org.elasticsearch.common.settings.Settings$Builder.put([Ljava/lang/Object;)Lorg/elasticsearch/common/settings/Settings$Builder

In our POM


Did you follow all the instructions on that page?

Yes. I have followed. If I mentioned 6.8.2 in the place of {version}. Then it can not able to fetch the jar. In maven repo, it is not there.
Till 5.6.1 it can able to fetch.

Did you add:


Yes. I have added.


Could you share the full output of:

mvn clean dependency:tree

got the issue. it is downloading the dependencies from my company maven repo. So it is not able to download it.

The guide also mentions that case.

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