报告 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)"
}