Looking at the matrix that @jprante wrote at https://github.com/jprante/elasticsearch-jdbc and some issues like
It seems like the project is not compatible with 5.x.
There is a 5.0 branch though: https://github.com/jprante/elasticsearch-jdbc/tree/5.0
Unsure what is its state.