Spring连接Elasticsearch报错:NodeDisconnectedException[[][IP:9300][cluster:monitor/nodes/liveness] disc
![Elasticsearch报错:NodeDisconnectedException[[][IP:9300][cluster:monitor/nodes/liveness] disc_elasticsearch](https://file.cfanz.cn/uploads/png/2022/02/16/6/23df2ZZ4Ef.png)
查看你的Elasticsearch安装目录的logs下的日志.
![Elasticsearch报错:NodeDisconnectedException[[][IP:9300][cluster:monitor/nodes/liveness] disc_Elasticsearch_02](https://file.cfanz.cn/uploads/png/2022/02/16/6/QKO4de82Ne.png)
java.lang.IllegalStateException: Received message from unsupported version: [2.0.0] minimal compatible version is: [5.0.0]
从不支持的版本接收消息:[2.0.0]最小兼容版本是:[5.0.0]
低版本ja包的不支持高版本的Elasticsearch
![Elasticsearch报错:NodeDisconnectedException[[][IP:9300][cluster:monitor/nodes/liveness] disc_java_03](https://file.cfanz.cn/uploads/png/2022/02/16/6/3eCZ791X00.png)
这里是什么版本建议使用什么版本的Elasticsearch
装上elasticsearch-2.1.0 解决
