Spring / Spring Beans
What is component scan in Spring framework?
Component Scan tells Spring the packages containing annotated classes that should be managed by Spring. If you have a class annotated with @Controller
which is in a package, if not scanned by Spring, you will not be able to use it as Spring controller.
More Related questions...