当我们new对象的时候例如 User user=new User; 在这里面如果User里面有@Autired 会造成注入成null 原因是因为通过new 会造成该对象不由spring 的ioc 容器管理