报告 Spring bean 注入点的自动装配问题:

示例:

public interface FooInterface {...}
  @Component public class FooBean implements FooInterface {...}
  @Component public class OtherBean implements FooInterface {...}

@Component
public class MyComponent {
	@Autowired
	FooInterface foo;  // 无法自动装配 有不止一种 'FooInterface' 类型的 bean。
                     // Beans: fooBean(FooBean.java), otherBean(OtherBean.java)"
}