Skip to content
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

getting java.lang.NoClassDefFoundError: org/elasticsearch/action/ActionResponse #36

Open
Moshik177 opened this issue Apr 20, 2017 · 2 comments

Comments

@Moshik177
Copy link

Hi ,

I'm trying to use your code as template but i am getting a lot of class def found exception like the example that i wrote in the title on this line: runner = new ElasticsearchClusterRunner(); , if i use the dependency:

org.apache.servicemix.bundles
org.apache.servicemix.bundles.elasticsearch
2.4.0_1

i am getting the exception java.lang.NoClassDefFoundError: org/elasticsearch/node/NodeValidationException
what you suggest to solve this issue?

Thanks,
Moshik

@marevol
Copy link
Contributor

marevol commented Apr 20, 2017

Elasticsearch does not keep Java API compatibility at each versions.
So, you need to use a proper elasticsearch version.

@Moshik177
Copy link
Author

Hi ,
I'm using the latest version of ES (5.3), when i copy the code with the pom to other place i am getting this errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants