I'm trying to install marvel plugin in elasticsearch , whenver I run the command from elasticsearch folder :
bin/plugin install file:///path/to/file/license-2.4.0.zip
I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/util/IOUtils
at org.elasticsearch.common.xcontent.json.JsonXContentParser.close(JsonXContentParser.java:193)
at org.elasticsearch.common.settings.loader.XContentSettingsLoader.load(XContentSettingsLoader.java:46)
at org.elasticsearch.common.settings.loader.YamlSettingsLoader.load(YamlSettingsLoader.java:46)
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromStream(ImmutableSettings.java:982)
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromUrl(ImmutableSettings.java:969)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:68)
at org.elasticsearch.plugins.PluginManager.main(PluginManager.java:395)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.util.IOUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
elasticsearch is running on
Java version is 1.8.0_91 , OpenJDK
inside docker container