But I keep getting the following exception on execution...
java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.common.xcontent.smile.SmileXContent
at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:124) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequest.source(SearchRequest.java:250) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:1019) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:50) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) ~[elasticsearch-2.1.0.jar:2.1.0]
at com.xxx.vertx.es.ElasticsearchClient.doSearch(ElasticsearchClient.java:262) ~[com.xxx~xxx~02.00.00/:na]
at com.xxx.vertx.es.ElasticsearchClient.handle(ElasticsearchClient.java:142) ~[com.xxx~xxx~02.00.00/:na]
at com.xxx.vertx.es.ElasticsearchClient.handle(ElasticsearchClient.java:34) ~[com.xxx~xxx~02.00.00/:na]
at org.vertx.java.core.eventbus.impl.DefaultEventBus$11.run(DefaultEventBus.java:951) ~[vertx-core-2.1.2-xxx-ssl-fix.jar:na]
at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:175) ~[vertx-core-2.1.2-xxx-ssl-fix.jar:na]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_11]
java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW
at org.elasticsearch.common.xcontent.smile.SmileXContent.(SmileXContent.java:50) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:124) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequest.source(SearchRequest.java:250) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:1019) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:50) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) ~[elasticsearch-2.1.0.jar:2.1.0]
at com.xxx.vertx.es.ElasticsearchClient.doSearch(ElasticsearchClient.java:262) ~[com.xxx~xxx~02.00.00/:na]
at com.xxx.vertx.es.ElasticsearchClient.handle(ElasticsearchClient.java:142) ~[com.xxx~xxx~02.00.00/:na]
at com.xxx.vertx.es.ElasticsearchClient.handle(ElasticsearchClient.java:34) ~[com.xxx~xxx~02.00.00/:na]
at org.vertx.java.core.eventbus.impl.DefaultEventBus$11.run(DefaultEventBus.java:951) ~[vertx-core-2.1.2-xxx-ssl-fix.jar:na]
at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:175) ~[vertx-core-2.1.2-xxx-ssl-fix.jar:na]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.20.Final.jar:4.0.20.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_11]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.