1.出现该情况它缺啥补个啥 @Bean public IClientConfig iClientConfig() { return new DefaultClientConfigImpl(); } 2.启动类放第三层