我試圖讓我的grails應用程序運行ealastic搜索插件。運行彈性搜索插件grails 2.4.4/2.5.0
最初,我在grails 2.4.4上運行。我使用的是默認配置
,並得到這個錯誤: Grails Elastic Search Plugin SEVERE: Unexpected transforming call sites grails elasticsearch
所以我升級到2.5.0在這個答案建議。
我設置DatastoreImpl到
elasticsearch {
datastoreImpl = "hibernateDatastore"
}
但我得到的錯誤,我沒有指定的數據存儲... 有人有一個想法是什麼嘗試?
2015-06-28 00:56:11,179 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing the application: No datastore implementation specified
Message: No datastore implementation specified
Line | Method
->> 135 | doCall in ElasticsearchGrailsPlugin$_closure1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 754 | invokeBeanDefiningClosure in grails.spring.BeanBuilder
| 584 | beans . . . . . . . . . . in ''
| 527 | invokeMethod in ''
| 262 | run . . . . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
Error |
Forked Grails VM exited with error