Welcome Guest! Log in
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Error "java.lang.NoSuchMethodError: io.netty [...]" when trying to execute Elasticsearch Mappings

    Symptom

    An exception looking like the following about a netty issue is thrown when executing Elasticsearch Mappings.

    java.lang.NoSuchMethodError: io.netty.[...]

     

    Solution

    Remove "<stambiaRuntime>/lig/global/netty-all-4.0.0.final.jar" file from the Runtime which is executing Elasticsearch Mappings.

    This library is causing conflicts with the netty library used by Elasticsearch.

    Removing the one shipped with the Runtime should resolve the exception issue as the Runtime will then use Elasticsearch's one.

    Note that for this workaround to work the Runtime must not be the local Runtime included in the Designer, as the Designer resets its internal Runtime libraries at each restart (so the netty library will be recreated at each Designer's restart.)

    Knowledge Base

    Suggest a new Article!