0
我已經從grails 1.3.x升級到2.0.4,它沒有運行。Bean屬性'eraseCredentialsAfterAuthentication'不可寫,或者在GRAILS 2.0.4中有一個無效的setter方法。
Caused by NotWritablePropertyException: Invalid property 'eraseCredentialsAfterAuthentication' of bean class [org.springframework.secur
ity.authentication.ProviderManager]: Bean property 'eraseCredentialsAfterAuthentication' is not writable or has an invalid setter metho
d. Does the parameter type of the setter match the return type of the getter?
->> 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 ''
^ 619 | run . . in java.lang.Thread
我已經spring-security-core:1.2.7.3
插件安裝和我加入compile ':spring-security-core:1.2.7.3'
線在我的插件依賴性。
我刪除了.grails目錄也是it says。
這是什麼原因。如何解決這個問題,