Elasticsearch :found jar hell in test classpath

你。 提交于 2019-12-04 22:26:33

As @Val observes, a test framework for ES v5 won't work with ES v1.

Why not upgrade to a newer version of ES?

As I recall, the old v1 has some serious security flaws. Plus ES 5 has better performance, etc.

The other thing you can do is decouple your tests from the exact ES version, by using an http library like Jest or ESJC.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!