1. 程式人生 > >spring xml方式注入沒有提供set方法

spring xml方式注入沒有提供set方法

org.springframework.beans.NotWritablePropertyException: Invalid property 'xxx'  Bean property 'xxx' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?