美文网首页
failed to load elasticsearch nod

failed to load elasticsearch nod

作者: 不安分的程序员天朗 | 来源:发表于2020-05-02 15:27 被阅读0次

使用SpringData连接ElasticSearch7.6.2确认路径配置正确一直报以下错误:

failed to load elasticsearch nodes : org.elasticsearch.client.transport.NoNodeAvailableException:

None of the configured nodes are available: [{#transport#-1}{uWHhZacNR9mbfojQOayyAg}{127.0.0.1}{127.0.0.1:9300}]

最后确认是使用的SpringData版本与ElasticSearch版本不匹配导致的,ElasticSearch7需要使用SpringData ElasticSearch4以上版本,

但现在4版本还没正式发布,开发测试环境使用把ElasticSearch改为6.8.3版本,功能正常

相关文章

网友评论

      本文标题:failed to load elasticsearch nod

      本文链接:https://www.haomeiwen.com/subject/slmkghtx.html