Q:

Spring not import all beans implementations from JARs

In jar file has interfrace ILogger.
Another jars has implementations ILogger. (Example one.jar:Logger1, two.jar:Logger2,...)In main file applicationContext.xml has line: 
<import resource="classpath:META-INF/applicationContext.xml"/> 

And each jar has  local applicationContext.xml with description one bean.
I inject all logger implementattions:
@Autowired
List<ILogger> loggers;

But list has only one implementation (only Logger2).
 If i explicitly indicate beans in main applicationContext.xml:

<bean id="logger1" class="demo.Logger1" />
<bean id="logger2" class="demo.Logger2" />

All work very good - list has all beans.
But I do not want to explicitly indicate all implementations.Is there a solution to my problem?

A:

I did not have an asterisk after classpath. My worked import:
<import resource="classpath*:META-INF/applicationContext.xml"/>

