Not able to create PreBuiltTransportClient intsance


(R Methre) #1

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


(Simon Willnauer) #2

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


(system) #3

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