I'm getting the exact same error, but I'm not using Maven (which I know very little about), and I manually get the JARs I need (the ones in the documentation :https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.1/java-rest-high-getting-started-dependencies.html
But obviously, at least one is missing. Which one is it or how can I know this? Where can I find it?
If useful, I added the following JARs :
-elasticsearch-rest-high-level-client-sniffer (All the five are 6.1.3)
-apache's httpasyncclient 4.1.3