공부
[Spring] @ComponentScan
승가비
2022. 6. 6. 03:53
728x90
@ComponentScan({"com.my.package.first","com.my.package.second"})
How to scan multiple paths using the @ComponentScan annotation?
I'm using Spring 3.1 and bootstrapping an application using the @Configuration and @ComponentScan attributes. The actual start is done with new AnnotationConfigApplicationContext(
stackoverflow.com
728x90