NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{KrOFibneQ76ycUjBC0Y3Qw}{192.168.1.139}{192.168.1.139:9300}] 解决这个问题,网上有不少的解决方案:其中最主要的缘由是由于版本冲突的问题node
有不少博客都提到这个,但没给具体的步骤git
1 安装是elasticsearch 2.4.0github
<parent>spring
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starters</artifactId> <version>1.5.21.RELEASE</version> </parent>
2 查看Spring Data Elasticsearch与Elasticsearch的版本匹配问题elasticsearch
到下面这个网址 https://github.com/spring-projects/spring-data-elasticsearchspring-boot
这个是配对规则3d
如何查看本身的版本到 external libraries下,看本身的版本是否匹配code