ClassNotFoundException: org.elasticsearch.plugins.ActionPlugin

由于驱动和ES版本不一样导致的,参考:

As @Roma Khomyshyn mentioned, Spring Data Elasticsearch only support transport client currently, but the version of Elasticsearch server and transport client must be the same. That's why you got unexpected error like this one.

A possible solution is another Spring Data implementation using JEST client - https://github.com/VanRoy/spring-data-jest

猜你喜欢

转载自my.oschina.net/airship/blog/1809539
今日推荐