一、代码@Componentpublic class BService { @Autowiredprivate AService aService;public void work(){ System.out.println(