Spring Boot整合Elasticsearch啟動報錯


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

springboot和es版本對照

我的是2.2.1.RELEASE,原es版本是5.6.12,因此,按照上圖,要換為6.8.4及以上版本


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM