org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.NullPointerException
at org.springframewo
使用Spring,可以通过接口类注入一个bean列表,如下所示:public class Service { private List<InterfaceType基于注释的方法对我来说是不可能的,因为服务类位于一个不能有spring依赖项的模块中。
我需要通过xml配置从外部使用这种机制。tell spring to create a list bean that resolves all beans of the interfaceType.&l