Installing Marvel plugin : exception Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/util/IOUtils

I'm trying to install marvel plugin in elasticsearch , whenver I run the command from elasticsearch folder :
bin/plugin install file:///path/to/file/
I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/util/IOUtils
at org.elasticsearch.common.xcontent.json.JsonXContentParser.close(
at org.elasticsearch.common.settings.loader.XContentSettingsLoader.load(
at org.elasticsearch.common.settings.loader.YamlSettingsLoader.load(
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromStream(
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromUrl(
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(
at org.elasticsearch.plugins.PluginManager.main(
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.util.IOUtils
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(

elasticsearch is running on
Java version is 1.8.0_91 , OpenJDK
inside docker container


How did you install elasticsearch? Using the tar.gz archive or rpm/deb package?

we are using the elasticsearch EFK stack coming with Openshift , elasticsearch version 3.2

Ok, then I would be able to help you. Maybe can you try to ask the openshift/EFK maintainers?

Many thanks Tangut , I decided to the generic elasticsearch docker image , not the one provided by Openshift as it is easier to deal with

1 Like