Snowdrop with Spring xml bean declaration not read when using wildwards residing in application lib directory
Issue
-
when trying to load spring beans from a jar file residing in the WEB-INF\lib directory of a war, declared in applicationContext.xml an "import" definition using the "**" syntax doesn't work.
-
The issue is that the bean "xyz" (present in jar in WEB-INF\lib directory of a war ) isn't loaded, whereas the bean "abc" is loaded(present in WEB-INF/classes). Both beans being declared inside a applicationContext.xml file, they should both be found by the import
<import resource="classpath*:com/test/**/applicationContext.xml" />but it is not the case.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
