{"action":"created","issue":{"url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/186","repository_url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin","labels_url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/186/comments","events_url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/186/events","html_url":"https://github.com/noamt/elasticsearch-grails-plugin/issues/186","id":198647923,"number":186,"title":"Not compatible with grails 3.2.3","user":{"login":"yang22zhang","id":6801784,"avatar_url":"https://avatars.githubusercontent.com/u/6801784?v=3","gravatar_id":"","url":"https://api.github.com/users/yang22zhang","html_url":"https://github.com/yang22zhang","followers_url":"https://api.github.com/users/yang22zhang/followers","following_url":"https://api.github.com/users/yang22zhang/following{/other_user}","gists_url":"https://api.github.com/users/yang22zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yang22zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yang22zhang/subscriptions","organizations_url":"https://api.github.com/users/yang22zhang/orgs","repos_url":"https://api.github.com/users/yang22zhang/repos","events_url":"https://api.github.com/users/yang22zhang/events{/privacy}","received_events_url":"https://api.github.com/users/yang22zhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-04T07:51:25Z","updated_at":"2017-01-16T21:21:48Z","closed_at":null,"body":"Grails: 3.2.3\r\nElasticsearch:5.1.1\r\nbuild.gradle:\r\n\r\n```\r\ndef elasticsearchVersion = '5.1.1'\r\next['elasticsearch.version'] = elasticsearchVersion\r\n\r\ndependencies {\r\n    compile 'org.grails.plugins:elasticsearch:1.2.0'\r\n}\r\n\r\n```\r\napplication.yml:\r\n\r\n```\r\nelasticSearch:\r\n    date:\r\n        formats: [\"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\"]\r\n    client.hosts:\r\n        - {host: localhost, port: 9300}\r\n    defaultExcludedProperties: ['password']\r\n    migration:\r\n        strategy: alias\r\n        aliasReplacesIndex: true\r\n    disableAutoIndex: false\r\n    bulkIndexOnStartup: false\r\n    maxBulkRequest: 500\r\n    searchableProperty:\r\n        name: searchable\r\n    includeTransients: false\r\n    datastoreImpl: hibernateDatastore\r\n    index.store.type: mmapfs\r\nenvironments:\r\n    development:\r\n        elasticSearch:\r\n            path.data : es-data\r\n```\r\n\r\nHere is Exception\r\n\r\n```\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditListener': Cannot resolve reference to bean 'indexRequestQueue' while setting bean property 'indexRequestQueue'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexRequestQueue': Cannot resolve reference to bean 'elasticSearchClient' while setting bean property 'elasticSearchClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.settings.Settings.settingsBuilder() is applicable for argument types: () values: []\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1486)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1231)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)\r\n\tat org.springframework.context.event.AbstractApplicationEventMulticaster.retrieveApplicationListeners(AbstractApplicationEventMulticaster.java:228)\r\n\tat org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:185)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)\r\n\tat org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:819)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:315)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:83)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:387)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:374)\r\n\tat grails.boot.GrailsApp$run.call(Unknown Source)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)\r\n\tat com.yueling.Application.main(Application.groovy:8)\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexRequestQueue': Cannot resolve reference to bean 'elasticSearchClient' while setting bean property 'elasticSearchClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.settings.Settings.settingsBuilder() is applicable for argument types: () values: []\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1486)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1231)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)\r\n\t... 27 common frames omitted\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.settings.Settings.settingsBuilder() is applicable for argument types: () values: []\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1600)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)\r\n\t... 37 common frames omitted\r\nCaused by: groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.settings.Settings.settingsBuilder() is applicable for argument types: () values: []\r\n\tat groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1503)\r\n\tat groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1489)\r\n\tat org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:53)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)\r\n\tat grails.plugins.elasticsearch.ClientNodeFactoryBean.getObject(ClientNodeFactoryBean.groovy:53)\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)\r\n\t... 42 common frames omitted\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/comments/272964796","html_url":"https://github.com/noamt/elasticsearch-grails-plugin/issues/186#issuecomment-272964796","issue_url":"https://api.github.com/repos/noamt/elasticsearch-grails-plugin/issues/186","id":272964796,"user":{"login":"peh","id":1596052,"avatar_url":"https://avatars.githubusercontent.com/u/1596052?v=3","gravatar_id":"","url":"https://api.github.com/users/peh","html_url":"https://github.com/peh","followers_url":"https://api.github.com/users/peh/followers","following_url":"https://api.github.com/users/peh/following{/other_user}","gists_url":"https://api.github.com/users/peh/gists{/gist_id}","starred_url":"https://api.github.com/users/peh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peh/subscriptions","organizations_url":"https://api.github.com/users/peh/orgs","repos_url":"https://api.github.com/users/peh/repos","events_url":"https://api.github.com/users/peh/events{/privacy}","received_events_url":"https://api.github.com/users/peh/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T21:21:48Z","updated_at":"2017-01-16T21:21:48Z","body":"This is caused by forcing 5.1.1 as your ES version.\r\nElasticserach 5.1.1 had a lot of breaking changes in the Java API"}}
{"actor":{"display_login":"peh"}}