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


(Ayman Elwany) #1

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

(Tanguy) #2


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

(Ayman Elwany) #3

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

(Tanguy) #4

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

(Ayman Elwany) #5

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

(system) #6