# Unable to start Elasticsearch 6.1.1 while configuring lang-groovy plugin

**URL:** <https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455>\
**Category:** Elasticsearch\
**Created:** [February 12, 2018, 10:53am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455 "2018-02-12T10:53:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakhirajpoot18](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rakhirajpoot18](https://discuss.elastic.co/u/rakhirajpoot18)\
**Post date:** [February 12, 2018, 10:53am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455/1 "2018-02-12T10:53:08Z")

</div>

description=lang-groovy Plugin  
version=2.4.5  
name=lang-groovy  
elasticsearch.version=6.1.1  
java.version=1.8  
classname=org.elasticsearch.script.groovy.GroovyPlugin

---

<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:** [February 12, 2018, 10:58am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455/2 "2018-02-12T10:58:25Z")

</div>

I am not sure the groovy plugin is compatible with Elasticsearch 6.x given that [support for Groovy has been removed](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/breaking_60_scripting_changes.html#_groovy_javascript_and_python_languages_removed).

---

<div class="post-metadata">

**Author:** ![rakhirajpoot18](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rakhirajpoot18](https://discuss.elastic.co/u/rakhirajpoot18)\
**Post date:** [February 12, 2018, 11:22am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455/3 "2018-02-12T11:22:10Z")

</div>

I am getting this error------

Caused by: java.lang.IllegalStateException: C:\software\elasticsearch-6.1.1\plugins\lang-groovy-2.4.5\lang-groovy-2.4.5.jar requires Elasticsearch 2.4.5, your system: 6.1.1  
at org.elasticsearch.bootstrap.JarHell.checkManifest(JarHell.java:230) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:183) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:379) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:142) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.node.Node.(Node.java:302) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.node.Node.(Node.java:245) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:212) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:322) ~[elasticsearch-6.1.1.jar:6.1.1]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.1.1.jar:6.1.1]

it seems that version of lang-groovy and elasticsearch should be same,but the lang-groovy 6.x is not avialable,what should I do to use the script in Elasticseach 6.x?

---

<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:** [February 12, 2018, 11:27am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455/4 "2018-02-12T11:27:55Z")

</div>

For Elasticsearch 6.x [the default scripting language is Painless](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-scripting.html). Documentation is available [here](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-scripting-painless.html).

---

<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:** [March 12, 2018, 11:28am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-1-1-while-configuring-lang-groovy-plugin/119455/5 "2018-03-12T11:28:08Z")

</div>

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