<context:component-scan base-package="${APP_BASE_PACKAGE}"/>
<!--APP_BASE_PACKAGE=com.test1,com.test2 -->
<context:component-scan base-package="${APP_BASE_PACKAGE1},${APP_BASE_PACKAGE2}"/>
<!--
APP_BASE_PACKAGE1=com.test1
APP_BASE_PACKAGE2=com.test2
-->
Yanming Zhou opened SPR-10425 and commented
it doesn't works
must be
it's not friendly for variable packages
https://jira.springsource.org/browse/SPR-4351
https://jira.springsource.org/browse/SPR-10424
Reference URL: https://jira.springframework.org/browse/SPR-4351
Issue Links:
1 votes, 2 watchers