Spring Boot整合Elasticsearch启动报错

时间:2019-12-03 14:12:32   收藏:0   阅读:553

如果你遇见下面的错误,很可能是你的springboot和es版本关系不对应

ERROR 14600 --- [ main] .d.e.r.s.AbstractElasticsearchRepository : failed to load elasticsearch nodes : org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{VRKJQkNQRxiKUTCTCav1Bw}{192.168.9.130}{192.168.9.130:9300}]

springboot和es版本对照表

技术图片

我的是2.2.1.RELEASE,原es版本是5.6.12,因此,按照上图,要换为6.8.4及以上版本

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!