1.server ===> es 6.2.2(x-pack enabled)
2.app ===> springboot 2.0.5.RELEASE
3.app ===> elasticsearch-rest-high-level-client 6.2.2(work in springboot)
after app start over without any error.try to test interface i got this:
2018-09-30 17:16:05.307 WARN 11124 --- [nio-8080-exec-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by handler execution: ElasticsearchStatusException[Elasticsearch exception [type=security_exception, reason=missing authentication token for REST request [///**]]]
is anyone kown how to set the authentication ?