Three ways to run the Springboot project
- java -jar xxx.jar
- First, build the gradle build in the root directory of the project in cmd.After success, generate the jar package in the project's build / libs
- Then execute java -jar xxx.jar
- gradle bootRun executes gradle bootRun
directly in the project directory in cmd to run the project - Right click on the project run application in idea or eclipse