1: IDE runs the main method of Application class
2: Run mvn spring-boot:run in the root directory of springboot application
Three: Use mvn install to generate jar and run it
Go to the project root directory first
mvn installcd targetjava -jar xxxx.jar
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.