我已经从 grails 1.3.x 升级到 2.0.4,它没有运行。
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 目录。
这是什么原因。如何解决这个问题,