Grails 创建名为';GrailEvents';

Grails 创建名为';GrailEvents';,grails,grails-2.4,Grails,Grails 2.4,我正在尝试将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 reso

我正在尝试将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

我认为可能是在旧插件不支持最新版本的时候。试着做“依赖性报告”或者谷歌搜索你所有的插件,看看它们支持的版本(和你在插件信息文件中找到的一样(抱歉,忘了它是怎么命名的)),我想可能是在旧插件不支持最新版本的时候。试着做“依赖报告”或者谷歌搜索你所有的插件,看看它们支持的版本(你可以在插件信息文件中找到相同的版本(抱歉,忘了它是如何命名的))