In trying to use the plugin for NEO4j with GORM, I remove any Spring Data stuff in my code, I also removed any Neo4j Annotations I had in my domain object. Now I just have the plugin.
Now I get the following error
Code:
| Error 2011-11-26 14:21:34,364 [Thread-13] ERROR context.GrailsContextLoader - Error executing bootstraps: Cannot cast object '<graphDatabaseService>' with class 'grails.spring.BeanBuilder$ConfigurableRuntimeBeanReference' to class 'org.neo4j.graphdb.GraphDatabaseService'
Message: Cannot cast object '<graphDatabaseService>' with class 'grails.spring.BeanBuilder$ConfigurableRuntimeBeanReference' to class 'org.neo4j.graphdb.GraphDatabaseService'
Line | Method
->> 693 | invokeBeanDefiningMethod in grails.spring.BeanBuilder
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 546 | invokeMethod in ''
| 736 | invokeBeanDefiningClosure in ''
| 569 | beans in ''
| 511 | invokeMethod . . . . . . in ''
| 303 | innerRun in java.util.concurrent.FutureTask$Sync
| 138 | run . . . . . . . . . . . in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run . . . . . . . . . . . in ''
^ 680 | run in java.lang.Thread
Process finished with exit code 1
Not sure how to fix this one.
Thanks
Mark