1. Introduction in this article, You'll learn how to scan multiple packages in spring boot application with @ComponentScan annotation. All the …