In this chapter, we will take a look at the foundational features of Spring Boot.
An information icon with the letter i inside a circle.Use the Spring Initializr to create a project; no additional dependencies are required.
2-1. Configure a Bean
Problem
You want Spring Boot to use your class as a bean.
Solution
Depending on your needs, either you can leverage @ComponentScan to automatically detect your class and ...