This version of the JDBC driver is only compatible with Elasticsearch version 7.9 or newer; attempti

今天使用DBeaver连es的时候遇到一个问题,

This version of the JDBC driver is only compatible with Elasticsearch version 7.9 or newer; attempting to connect to a server version 7.4.0

原因应该是目前的es驱动下载的不对,

Past Releases of Elastic Stack Software | Elastic 

到官网下载对应的版本文件注意是jar包,

我这里添加7.4.0的包依然无法连接。而且驱动库里面也没有办法设置默认从哪个库读取,于是把7.9.1库删掉。

已经可以连接了

猜你喜欢

转载自blog.csdn.net/leonnew/article/details/124040912