在beans.xml中添加 <bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor"/>语句