You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like commit 2127a9f to grails-datastore-gorm-hibernate4 broke gorm-hibernate4-spring-boot.
here the offending line that adds a cast from BeanDefinitionRegistry to ApplicationContext which (at least for me) seems to be not working with spring-boot-1.2.3:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.springframework.beans.factory.support.DefaultListableBeanFactory@b9b00e0: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,gormaloneApplication,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,org.springframework.boot.autoconfigure.AutoConfigurationPackages,grailsApplication]; root of factory hierarchy' with class 'org.springframework.beans.factory.support.DefaultListableBeanFactory' to class 'org.springframework.context.ApplicationContext'
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnSAM(DefaultTypeTransformation.java:402)
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnNumber(DefaultTypeTransformation.java:316)
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:229)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:601)
at grails.orm.bootstrap.HibernateDatastoreSpringInitializer$_getBeanDefinitions_closure1.doCall(HibernateDatastoreSpringInitializer.groovy:114)
and btw: took some time until i figured out that 4.0.0.RELEASE on bintray/grails/grails-core is the latest stable release of gorm-hibernate4-spring-boot. maybe you could link that to jcenter, too?
thanks, zyro
The text was updated successfully, but these errors were encountered:
zyro23
changed the title
gorm-hibernate4-spring-boot 4.0.0.RELEASE not working
gorm-hibernate4-spring-boot-4.0.0.RELEASE - GroovyCastException
Apr 12, 2015
hi,
it looks like commit 2127a9f to grails-datastore-gorm-hibernate4 broke gorm-hibernate4-spring-boot.
here the offending line that adds a cast from
BeanDefinitionRegistry
toApplicationContext
which (at least for me) seems to be not working with spring-boot-1.2.3:2127a9f#diff-7e6e3a53a29ccbf9765af128ab264bc9R113
and btw: took some time until i figured out that 4.0.0.RELEASE on bintray/grails/grails-core is the latest stable release of gorm-hibernate4-spring-boot. maybe you could link that to jcenter, too?
thanks, zyro
The text was updated successfully, but these errors were encountered: