Article directory
first step
Execute
Maven
build instructionspackage
second step
To run the project (execute the startup command), you need to start the command line window
in the location where the current package is located , or you can enter the location where the package is located through the command line window commandCMD
cd
java -jar singleFableFullStack-0.0.1-SNAPSHOT.jar
Precautions
Plug-ins are required to start using
jar
the command linemaven
. Please confirm that there areSpringBoot
correspondingmaven
plug-ins when packaging.<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>