Home  >  Article  >  Java  >  What is the startup method of springboot?

What is the startup method of springboot?

WBOY
WBOYforward
2023-05-12 09:37:131049browse

One: IDE runs the main method of the Application class

What is the startup method of springboot?

Two: In the root directory of the springboot application Run mvn spring-boot:run

What is the startup method of springboot?

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

What is the startup method of springboot?

What is the startup method of springboot?

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete