SpringSource/grails-data-mapping — Issue #29: Error is not easy to understand..
Author: wdroste
Created: 2012-03-07 04:31:52+00:00
State: open

Minor ticket
1.0.1

If you don't setup the grails.neo4j bean the user gets this for all grails commands..

| Error Error running generate-all (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{}' with class 'java.lang.String' to class 'java.lang.Class' due to: java.lang.ClassNotFoundException: {}
at org.grails.datastore.gorm.neo4j.plugin.support.Neo4jSpringConfigurer$_getSpringCustomizer_closure1.doCall(Neo4jSpringConfigurer.groovy:77)
at org.grails.datastore.gorm.plugin.support.SpringConfigurer$_configureSpring_closure1.doCall(SpringConfigurer.groovy:123)
at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:736)
at grails.spring.BeanBuilder.beans(BeanBuilder.java:569)
at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:511)
at _GrailsBootstrap_groovy$_run_closure2_closure17.doCall(_GrailsBootstrap_groovy:105)
at _GrailsBootstrap_groovy$_run_closure2.doCall(_GrailsBootstrap_groovy:97)
at _GrailsBootstrap_groovy$_run_closure6.doCall(_GrailsBootstrap_groovy:131)
at _GrailsGenerate_groovy$_run_closure1.doCall(_GrailsGenerate_groovy:43)
at GenerateAll$_run_closure1.doCall(GenerateAll:42)