High Level REST client error with org.elasticsearch.client library 7.3.1


I tried to use org.elasticsearch.client.RestClientBuilder (version 7.3.1) but encountered the following error. Does anyone know if this is a bug in the library file or how to resolve this?
I am using this library in cloudera nifi

Unhandled java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.impl.nio.conn.ManagedNHttpClientConnectionFactory

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