How to use spring-data-elasticsearch in spring-boot 2.1.4 REALESE?
Current Error.
ERROR: org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{XGi_IpM0QHea4D3QbFbArQ}{HOST}{HOST:PORT}]]] with root cause
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available:
My Environment.
- elasticsearch 6.2.2
- spring-boot 2.1.4 RELEASE(starter, spring-data-elasticsearch 3.1.4)
Hope.
- spring-boot config elasticsearch client connection. using application.yml's spring.elasticsearch.rest OR spring.data.elsticsearch
Can i use elasticsearch 6.2.2 in spring-boot 2.1.4 RELEASE(spring-data-elasticsearch 3.1.4)?
What should I do?
ERROR: org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{XGi_xxxxxxxxxxx}{HOST}{HOST:PORT}]]] with root cause org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available:
There is a problem when connecting to Elasticsearch 6.2.2 on the srping-boot 2.1.4's spring-data-elasticsearch.