Methods a
Create spring. IO/from the official website
Then select Spring Boot under the Projects menu.
Open the page and swipe to the bottom to see Quickstart Your Project
Click on theSpring Initializr
The next step is to create our project.
Click Generate when you’re done so that the project you created is packaged for download. Then open IDEA to import the project.
Method 2
Create in the IDEA development tool and select Spring Initializr when creating the project
Next, edit the basic information of the project
Next, choose to set the project’s dependencies
When you’re done, you should see the following file structure
The Demohh1Application class is the main startup class for the project