Closed kevinludwig closed 6 years ago
Please include the version of eskotlin
and elasticsearch
packages that you are using.
I'm using the latest published, 0.3.0 of eskotlin. I'm using latest Elasticsearch server, however I'm using direct REST calls via Spring's RestTemplate, so the only elastic search library that I pull in is ESKotlin (which itself pulls in elasticsearch 5.0.0 I believe).
Looks like a classpath issue from the stacktrace.
The Operator enum definitely exists in the elasticsearch
library.
Does adding an explicit dependency on elasticsearch get it working?
eg:
compile "org.elasticsearch:elasticsearch:5.0.0"
Closing - I don't think this is an issue in ESKotlin, but something to do with how spring boot manages the elasticsearch dependency.
I'm unable to use this library because of various ClassNotFoundExceptions. An example stack trace: