Migration to rest client ,NoSuchFieldError: Lucene_5_5_4 error

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

image

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.

You probably have somewhere in your classpath an old version of Lucene. Or when you launch your main class, it is missing the dependencies?