{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9847","repository_url":"https://api.github.com/repos/grails/grails-core","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9847/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9847/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9847/events","html_url":"https://github.com/grails/grails-core/issues/9847","id":146433263,"number":9847,"title":"NoSuchMethodError: HibernateDatastoreSpringInitializer.setDefaultConstraints","user":{"login":"fcnorman","id":1584631,"avatar_url":"https://avatars.githubusercontent.com/u/1584631?v=3","gravatar_id":"","url":"https://api.github.com/users/fcnorman","html_url":"https://github.com/fcnorman","followers_url":"https://api.github.com/users/fcnorman/followers","following_url":"https://api.github.com/users/fcnorman/following{/other_user}","gists_url":"https://api.github.com/users/fcnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/fcnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcnorman/subscriptions","organizations_url":"https://api.github.com/users/fcnorman/orgs","repos_url":"https://api.github.com/users/fcnorman/repos","events_url":"https://api.github.com/users/fcnorman/events{/privacy}","received_events_url":"https://api.github.com/users/fcnorman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T20:58:43Z","updated_at":"2016-04-06T22:06:18Z","closed_at":"2016-04-06T22:06:18Z","body":"Running an app on grails 3.2.0.BUILD-RELEASE from March 8, 2016.\r\nRunning on Java 1.8 on Amazon Linux\r\nGroovy 2.4.6, Gradle 2.9\r\n\r\nException in thread \"main\" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)\r\n\t... 1 more\r\nCaused by: java.lang.NoSuchMethodError: grails.orm.bootstrap.HibernateDatastoreSpringInitializer.setDefaultConstraints(Ljava/util/Map;)V\r\n\tat grails.plugin.hibernate.HibernateGrailsPlugin$_doWithSpring_closure1.doCall(HibernateGrailsPlugin.groovy:80)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)\r\n\tat groovy.lang.Closure.call(Closure.java:426)\r\n\tat groovy.lang.Closure.call(Closure.java:420)\r\n\tat grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:758)\r\n\tat grails.spring.BeanBuilder.beans(BeanBuilder.java:588)\r\n\tat grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:531)\r\n\tat org.grails.plugins.DefaultGrailsPlugin.doWithRuntimeConfiguration(DefaultGrailsPlugin.java:560)\r\n\tat org.grails.plugins.AbstractGrailsPluginManager.doRuntimeConfiguration(AbstractGrailsPluginManager.java:172)\r\n\tat grails.boot.config.GrailsApplicationPostProcessor.postProcessBeanDefinitionRegistry(GrailsApplicationPostProcessor.groovy:157)\r\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:123)\r\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)\r\n\tat org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:307)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:55)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:365)\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:354)\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\r\n\r\nPlease let me know if you need additional info, and I will post.\r\n"},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/206591164","html_url":"https://github.com/grails/grails-core/issues/9847#issuecomment-206591164","issue_url":"https://api.github.com/repos/grails/grails-core/issues/9847","id":206591164,"user":{"login":"fcnorman","id":1584631,"avatar_url":"https://avatars.githubusercontent.com/u/1584631?v=3","gravatar_id":"","url":"https://api.github.com/users/fcnorman","html_url":"https://github.com/fcnorman","followers_url":"https://api.github.com/users/fcnorman/followers","following_url":"https://api.github.com/users/fcnorman/following{/other_user}","gists_url":"https://api.github.com/users/fcnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/fcnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcnorman/subscriptions","organizations_url":"https://api.github.com/users/fcnorman/orgs","repos_url":"https://api.github.com/users/fcnorman/repos","events_url":"https://api.github.com/users/fcnorman/events{/privacy}","received_events_url":"https://api.github.com/users/fcnorman/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T22:06:18Z","updated_at":"2016-04-06T22:06:18Z","body":"Our team solved this one by incrementing our hibernate4 dependency from 5.0.2 to 5.03."}}