Hello, I am trying to do a simple POC on elastic search using Fuse. I have resolved errors for names.txt and snowball and my blueprint gets started. I am getting below error now:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.index.codec.postingsformat.PostingFormats My route is <camelContext id="elasticsearch" xmlns="http://camel.apache.org/schema/blueprint"> <propertyPlaceholder id="properties5" location="blueprint:fuse-experian-sendemail-bundle-config5" /> <dataFormats> <xmljson id="xmljson" /> </dataFormats> <route> <from uri="file:src/in/elasticsearch" /> <marshal ref="xmljson" /> <convertBodyTo type="java.lang.byte[]" charset="utf-16"/> <log message="Body inserted to elastic search is ${body}"/> <to uri="elasticsearch://local?operation=INDEX&indexName=mylog&indexType=data" /> <log message="Index id from elastic search is ${body} and ${headers}"/> </route> </camelContext> I am using an xml file, converting to json and then to byte array and then trying to insert in elastic search. Any clue if something is missing here? Thanks and Regards, Vanshul Chawla