SpringBoot command to start the project

1: Start the project from the command line

    Use the command cd to change to the directory where the project is located

    Use the command mvn install to execute the command to generate the relevant folder target and generate the relevant jar file

    cd into the target directory and execute java -jar demo-0.0.1-SNAPSHOT.jar to start the project (the jar file is the generated jar package)


2: Start directly using the spring-boot command

    mvn spring-boot:run execute command

    

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324585093&siteId=291194637