-
Notifications
You must be signed in to change notification settings - Fork 344
[Groovy script] java.lang.NoClassDefFoundError: #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have downgraded from Elasticsearch 2.2 to 2.1 and now the script works. |
Hmm, could it be this: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-2.2.html#_scripting_and_security that is biting me? |
I found adding |
I ended up doing:
in dockerfile while
and copied to This way I avoided having to overwrite/edit existing files from the parent docker image and having to keep tabs on changes to those. |
This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html). For more information, please see #160, docker-library/docs#842, and docker-library/docs#945.
Thanks! |
I am trying to execute a groovy-script I have stored on the server, and I get this error, that almost sound like some groovy related library is missing from the image?
Or is there something I need to install? Groovy is built in AFAIK.
Dockerfile
sort_by_array_index.groovy
And the trigger part in search query:
The text was updated successfully, but these errors were encountered: