One: IDE runs the main method of the Application class
Two: In the root directory of the springboot application Run mvn spring-boot:run
Three: Use mvn install to generate the jar and run
Go to the project root directory first
mvn install cd target java -jar xxxx.jar
The above is the detailed content of What is the startup method of springboot?. For more information, please follow other related articles on the PHP Chinese website!