# Unable to get elasticsearch to run with jar hell

**URL:** <https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 3:03pm UTC](https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810 "2018-06-28T15:03:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephM](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@StephM](https://discuss.elastic.co/u/StephM)\
**Post date:** [June 28, 2018, 3:03pm UTC](https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810/1 "2018-06-28T15:03:50Z")

</div>

I'm totally new to elasticsearch, and I've been asked to look at using Elassandra. I've followed the instructions here: [http://doc.elassandra.io/en/v6.2.3.2/installation.html](http://doc.elassandra.io/en/v6.2.3.2/installation.html), but it's just not working for me.

I can run bin/cassandra.bat and that works, but when I run bin/cassandra.bat -e to run with Elasticsearch it just seems to die.

I'm running with bin/cassandra.bat -e -p myfile.txt to allow me to use stop-server. I've noticed that when I run without elasticsearch the file is created and lives until I stop the server. Running with elasticsearch it disappears straight away, which is what leads me to say that it has died.

I have checked the logs and found I have a jar hell error. I have NO idea what that means (I am a Windows/DotNet/SQL person, so this is just gibberish to me!). I have googled it and found nothing of any use. I don't know what else I have that is conflicting. I'm not sure if's related, but it still doesn't sound good.

I am running on Windows 10. This is a a standalone dev environment that I want to spin up, do some testing, write some code, and produce a POC at the end of it.

Error is:  
java.lang.IllegalStateException: failed to load plugin aggs-matrix-stats due to jar hell  
at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:475)  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:420)  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:146)  
at org.elasticsearch.node.Node.(Node.java:307)  
at org.elasticsearch.node.Node.(Node.java:246)  
at org.apache.cassandra.service.ElassandraDaemon.activate(ElassandraDaemon.java:188)  
at org.apache.cassandra.service.ElassandraDaemon.main(ElassandraDaemon.java:554)  
Caused by: java.lang.IllegalStateException: jar hell!

I can supply full log files if it helps, but not sure how to upload them here.

Oh, and I appreciate this is Elassandra, not Elasticsearch, but this is the forum I was sent to from the github site.

Hope someone can help me to get this running, thanks 🙂

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 28, 2018, 3:26pm UTC](https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810/2 "2018-06-28T15:26:47Z")

</div>

Elasticsearch does not support running embedded. It sounds like you are trying to do something like this here.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 28, 2018, 3:32pm UTC](https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810/3 "2018-06-28T15:32:34Z")

</div>

I have not seen almost any questions related to Elassandra here, so suspect you may have a better chance of getting help through their forum or GitHub repo.

---

<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 26, 2018, 3:32pm UTC](https://discuss.elastic.co/t/unable-to-get-elasticsearch-to-run-with-jar-hell/137810/4 "2018-07-26T15:32:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
