Bean property 'productService' is not writable or has an invalid setter method. Does the parameter type o
f the setter match the return type of the getter?
setter match the return type of the getter,,,说明你的 productService的 setter 或者 getter 缺了
,刚刚在做项目时,一不小心把productService 写成 proiductService