Springboot Learning 1. springboot Learning
Springboot is a framework used to quickly build microservices. spring is a high-quality product.
For more information about microservices and springboot, refer to using Spring Boot to create microservices.
Spring provides a scaffolding website that is just built in the project and can generate a blank demo online. Maven and gradle are available for project management.
Continue using Maven and select Maven.
For more personalized customization, click Switch to the full version. You can enter the generated package name.
After entering Group and Artifcact, we want to build a Spring Web project, enter the Web in the Search for dependencies input box, and select the web.
Click Generate Project. Spring will generate a demo for us to download. After downloading and decompressing the package, import Intelli Idea to the project.
Find the class with the main method and see that the class contains annotation @ SpringBootApplication. This is the entry of our program and runs. The output is displayed on the console:
At this time. The springboot project has been set up successfully.