Unable to use restHighLevelClient

Hi Team,

I tried to use scroll api, For which I need to use RestHighLevelClient but while using it, I am getting Error like:

java.lang.NoSuchMethodError: org.elasticsearch.common.xcontent.NamedXContentRegistry$Entry.(Ljava/lang/Class;Lorg/elasticsearch/common/ParseField;Lorg/elasticsearch/common/xcontent/ContextParser;)V

Please give any solution.

Are you using maven? Can you please share what your dependencies are?

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