如果你遇見下面的錯誤,很可能是你的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及以上版本