注意:構(gòu)建這個項目需要降低springboot版本為:
````xml
<version>2.2.0.RELEASE</version>
````
然后清理IDEA緩存,重啟IDEA!
因為springboot,spring-boot-starter-data-elasticsearch,elasticsearch三者版本需要匹配!
````xml
<version>2.2.0.RELEASE</version>
````
然后清理IDEA緩存,重啟IDEA!
因為springboot,spring-boot-starter-data-elasticsearch,elasticsearch三者版本需要匹配!
2023-04-25
啟動報這個錯誤NoNodeAvailableException[None of the configured nodes are available.
如果已經(jīng)排除了依賴版本的問題,可以直接注釋掉cluster-name,或者進行修改。我這邊是修改cluster-name=elasticsearch就可行了。
如果已經(jīng)排除了依賴版本的問題,可以直接注釋掉cluster-name,或者進行修改。我這邊是修改cluster-name=elasticsearch就可行了。
2022-04-18
老師的講解簡單明了,思路清晰,對于es入門來說很友好。過程中也會對知識點進行闡述和發(fā)散,很棒??!
交作業(yè):https://github.com/holic-x/springboot-es
內(nèi)附項目源碼內(nèi)容和完整的項目學(xué)習(xí)筆記
https://img1.sycdn.imooc.com//6232a1ca000142de04860142.jpg
交作業(yè):https://github.com/holic-x/springboot-es
內(nèi)附項目源碼內(nèi)容和完整的項目學(xué)習(xí)筆記
https://img1.sycdn.imooc.com//6232a1ca000142de04860142.jpg
2022-03-17