Method threw 'java.lang.NoClassDefFoundError' exception. Cannot evaluate org.elasticsearch.search.builder.SearchSourceBuilder.toString()

I couldn't instantiate SearchSourceBuilder
my elastic-search version is 7.6.0
I am using rest high level client

Welcome!

I think you need to share a bit more.
Like your code, a project on github that reproduces the problem...

I have no problem on my side here:

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