Plugin [lang-mustache] must be at least a jvm or site plugin

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?

If I'm reading the following correctly:

The 2.x release of spring-data for elasticsearch is only compatible with elasticsearch 2.x, so not sure if what you are trying is supposed to work.

Wow, I should I have read that.

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.