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