为Bean注入属性的时候一直报错,Invalid property '×××' of bean class,检查了很多没发现有错,怎么会报无效的属性值。 最后发现是属性的SET方法没有写,这样就不能注入。