Spring Framework Spring FrameWork Current: multiple packages in context:component-scan, spring config multiple packages in context:component-scan, spring config <context:component-scan base-package="x.y.z.service, x.y.z.controller" /> CODE filter 설정 <context:component-scan base-package="x.y.z"> <context:include-filter type="regex" expression="(service|constroller)\..*"/> </context:component-scan> CODE Refhttp://stackoverflow.com/questions/5269450/multiple-packages-in-contextcomponent-scan-spring-confighttp://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/beans.html#beans-scanning-filters ×