2015-04-29 122 views
0

我想從2.3.11升級到Grails 2.4.5的應用程序。我似乎無法得到這個工作。 我使用Spring Security Core和Spring Security REST插件。試圖運行該應用程序,此異常拋出指示Spring Security Core爲源:升級到Grails 2.4:ClassNotFoundException:org.springframework.web.filter.GenericFilterBean

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

這仍然是一個問題? – john

回答