升级到Grails 2.4:ClassNotFoundException:org.springframework.web.filter.GenericFilterBean

时间:2015-04-29 14:28:08

标签: grails spring-security grails-2.4

我正在尝试将应用程序从2.3.11升级到Grails 2.4.5。我似乎无法让这个工作。 我使用Spring Security Core和Spring Security REST插件。尝试运行应用程序时,会抛出此异常,指示Spring Security Core为源:

2015-04-29 16:20:24,497 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener  - Error initializing the application: org/springframework/web/filter/GenericFilterBean
Message: org/springframework/web/filter/GenericFilterBean
[...]
|    212 | doCall                         in SpringSecurityCoreGrailsPlugin$_closure2
[...]
Caused by ClassNotFoundException: org.springframework.web.filter.GenericFilterBean

为什么找不到GenericFilterBean类? Spring安全性插件表明它与Grails 2.4兼容。

插件包含在BuildConfig.groovy中,如下所示:

compile (":spring-security-rest:1.5.0.RC4")
compile (":spring-security-core:2.0-RC4")

0 个答案:

没有答案