My elastic search is running.
But when I do this :
curl -XPUT "http://127.0.0.1:9200/movies/movie/1" -d'
{
"title": "The Godfather",
"director": "Francis Ford Coppola",
"year": 1972
}'
This error is coming.
{"error":"IndexCreationException[[movies] failed to create index]; nested: NoClassDefFoundError[Could not initialize class org.elasticsearch.index.codec.postingsformat.PostingFormats]; ","status":500}