Pretty sure You need to download the correct / compatible version of the driver as the error states
Navigate here
https://www.elastic.co/downloads/past-releases#jdbc-client
Then pick the 8.6.1 Version
Always best to match versions of Clients and Servers!