0

Hi When i try to configure jest client I got

java.lang.NoClassDefFoundError:: io.searchbox.client.config.idle.ReapableConnectionManager.

I use the mvn dependency of searchbox is . <dependency> <groupId>io.searchbox</groupId> <artifactId>jest</artifactId> <version>0.1.7</version> </dependency> . After seeing the error i found the class

Reapableconnectionmanager,which is already exist there. Is any one guide me to fix this error .

Thanks in advance.

Nkosi
  • 235,767
  • 35
  • 427
  • 472
mohan
  • 359
  • 1
  • 5
  • 18
  • How do you invoke the client? – Thorbjørn Ravn Andersen Sep 30 '15 at 13:24
  • Using this code i invoke the client `HttpClientConfig clientConfig = new HttpClientConfig.Builder(Arrays.asList(getSetting(S_ES_POINT).split(","))).multiThreaded(true) .maxTotalConnection(500).defaultMaxTotalConnectionPerRoute(100).readTimeout(30000).build();` and the S_ES_POINT value is `S_ES_POINT("search.elasticsearch.point", "localhost:9160");`. – mohan Oct 01 '15 at 04:21
  • Your class path at runtime is broken. – Thorbjørn Ravn Andersen Oct 01 '15 at 07:10
  • Thanks for your response Thorbjørn Ravn Andersen.After i remove the split function it works fine – mohan Oct 01 '15 at 09:18

0 Answers0