Springboots + Elastic search 7.6.2 Integration failing

Hi Experts, I am new to EL. Trying to integrate a middle layer between consumer and ELS7.6.2 using spring boots.

Looks like after several try I am unable to run the spring boots application as the Application context is unable to load the rest client.

Whilst I am trying to integrate with a plain main program all the integration works successfully.

I am actually running out of ideas here as resolving an application context issue has never been so much elaborative.

Please look at the Git URL I have provided and really appreciate any suggestions.

Welcome!

When using springboot with elasticsearch, you need to be explicit with some transitive dependencies as SpringBoot declares a version 6.4...

Basically you can put this in your pom.xml:

<properties>
  <elasticsearch.version>7.6.2<elasticsearch.version>
</properties>

See documentation here: https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-customize-dependency-versions

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.