我正在尝试将grails迁移到2.4.4版本,我收到了这个错误:不知道可能是什么问题。
欢迎提出一些建议,谢谢。
Error |
2015-12-15 10:45:47,097 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing the application: Error creating bean with name 'grailsEvents': Cannot resolve reference to bean 'grailsEventsPublisher' while setting bean property 'grailsEventsPublisher'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventsPublisher': Cannot resolve reference to bean 'persistenceInterceptor' while setting bean property 'persistenceInterceptor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceInterceptor' is defined
Message: Error creating bean with name 'grailsEvents': Cannot resolve reference to bean 'grailsEventsPublisher' while setting bean property 'grailsEventsPublisher'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventsPublisher': Cannot resolve reference to bean 'persistenceInterceptor' while setting bean property 'persistenceInterceptor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceInterceptor' is defined
Line | Method
->> 262 | run in java.util.concurrent.FutureTask
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
Caused by BeanCreationException: Error creating bean with name 'grailsEventsPublisher': Cannot resolve reference to bean 'persistenceInterceptor' while setting bean property 'persistenceInterceptor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceInterceptor' is defined
->> 262 | run in java.util.concurrent.FutureTask
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
Caused by NoSuchBeanDefinitionException: No bean named 'persistenceInterceptor' is defined
->> 262 | run in java.util.concurrent.FutureTask
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
Error |
Forked Grails VM exited with error