Not able to create PreBuiltTransportClient intsance

java.lang.NoSuchMethodError: org.elasticsearch.transport.client.PreBuiltTransportClient.addPlugins(Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Collection;
at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:92)

I have already looked into below link, where it says about NoopPlugin . Where do i find Noop plugin jar file or class

you have to pass the plugins in the constructor new PreBuiltTransportClient(Settings.EMPTY, yourPlugin);

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