Caused by: org.springframework.beans.NotWritablePropertyException:

一般这种错误是缺少set方法,如:

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'securityMetadataSource' of bean class [com.basic.security.MyFilterSecurityInterceptor]: Bean property 'securityMetadataSource' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

是说在类com.basic.security.MyFilterSecurityInterceptor中缺少属性:securityMetadataSource的set方法.

posted on 2013-10-12 22:54  weldonh  阅读(8696)  评论(0)    收藏  举报

努力加载评论中...

导航

点击右上角即可分享
微信分享提示