Hi
I'm trying to use spring to write/search elasticsearch. Im running Elastic 5.0.1, with spring-data-elasticsearch 2.0.5.
I've configured spring as follows:
@EnableElasticsearchRepositories(basePackages = "my/package")
...
@Bean
public ElasticsearchOperations elasticsearchTemplate() {
return new ElasticsearchTemplate(nodeBuilder().local(true).node().client());
}
When I start my application (webapp deployed on tomcat) I get this: java.lang.IllegalArgumentException: Plugin [lang-mustache] must be at least a jvm or site plugin.
I've put the lang-mustache-5.0.1.jar in my classpath using setenv.sh.
Any ideas?