如果你遇见下面的错误,很可能是你的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版本对照表

Spring Boot整合Elasticsearch启动报错

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

相关文章:

  • 2021-05-19
  • 2022-12-23
  • 2021-04-22
  • 2022-03-07
  • 2022-12-23
  • 2021-11-26
  • 2021-10-29
  • 2019-09-01
猜你喜欢
  • 2021-07-17
  • 2022-01-24
  • 2022-01-14
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案