Compilation errors from Elastic Search plugin 0.0.3.1 on Grails 2.3.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compilation errors from Elastic Search plugin 0.0.3.1 on Grails 2.3.5

paulbarker
I've followed the notes in the Elastic Search Plugin documentation, added the plugin to my app in the 'plugins' closure but when I run my app I get a whole load of 'unable to resolve class org.elasticsearch...' compilation errors.

Here are the first few:

| Error Compilation error: startup failed:
/Users/paulbarker/.grails/2.3.4/projects/myapp/plugins/elasticsearch-0.0.3.1/grails-app/services/org/grails/plugins/elasticsearch/ElasticSearchAdminService.groovy: 3: unable to resolve class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
 @ line 3, column 1.
   import org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
   ^

/Users/paulbarker/.grails/2.3.4/projects/myapp/plugins/elasticsearch-0.0.3.1/grails-app/services/org/grails/plugins/elasticsearch/ElasticSearchAdminService.groovy: 5: unable to resolve class org.elasticsearch.client.Requests
 @ line 5, column 1.
   import org.elasticsearch.client.Requests
   ^

/Users/paulbarker/.grails/2.3.4/projects/myapp/plugins/elasticsearch-0.0.3.1/grails-app/services/org/grails/plugins/elasticsearch/ElasticSearchAdminService.groovy: 4: unable to resolve class org.elasticsearch.client.Client
 @ line 4, column 1.
   import org.elasticsearch.client.Client
   ^

... and so on, about another 40 times.

I noticed a similar post (http://grails.1312388.n4.nabble.com/ElasticSearch-plugin-compile-exception-td4649732.html) but that seemed to be related to Grails/Hibernate 4. I have ':hibernate:3.6.10.6' in my plugin list so I don't think it's going to be that.

But I do remember seeing 'The environment variable ELASTIC_SEARCH_HOME specifying the location of ElasticSearch is not set' flash past at one point but I haven't seen it since - could that be the problem? Not sure what it should even be set to.

Anyone got any ideas?