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

**URL:** <https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [October 7, 2016, 1:57pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496 "2016-10-07T13:57:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayman\_elwany](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@ayman\_elwany](https://discuss.elastic.co/u/ayman_elwany)\
**Post date:** [October 7, 2016, 1:57pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/1 "2016-10-07T13:57:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [October 7, 2016, 2:13pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/2 "2016-10-07T14:13:29Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![ayman\_elwany](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@ayman\_elwany](https://discuss.elastic.co/u/ayman_elwany)\
**Post date:** [October 7, 2016, 2:27pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/3 "2016-10-07T14:27:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [October 7, 2016, 2:41pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/4 "2016-10-07T14:41:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ayman\_elwany](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@ayman\_elwany](https://discuss.elastic.co/u/ayman_elwany)\
**Post date:** [November 1, 2016, 12:03pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/5 "2016-11-01T12:03:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:41pm UTC](https://discuss.elastic.co/t/installing-marvel-plugin-exception-exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-lucene-util-ioutils/62496/6 "2017-07-06T13:41:44Z")

</div>


