Caused by:org.springframework.beans.factory.BeanCreationException: Error creating beanwith name 'master1' defined in class path resource [spring-config.xml]: Error setting property values; nested exception isorg.springframework.beans.NotWritablePropertyException:Invalid property 'name' of bean class [com.pojo.Master]:Bean property 'name' is not writable or has an invalid setter method. Does theparameter type of the setter match the return type of the getter?
Master类中的name属性没有写正确的setter方法org.springframework.beans.NotWritablePropertyException
最新推荐文章于 2023-08-04 14:15:43 发布