<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>1.
Start in startup class
2.
You can also use the command line mvn spring-boot:run in the directory to start (you need to configure the java environment variable version 1.8) 3.1. Use mvn install in the project directory to compile the project
2. Enter the target directory and use java -jar project name.jar to start the project
## # ###### ###
The above is the detailed content of Java development tips for springboot project jar packaging. For more information, please follow other related articles on the PHP Chinese website!