Use mvn package for SpringBoot-java program

1, to run the project directory (pom.xml): mvn install
2, run the jar: find the .jar file generated directory (usually target folder for the project's), using
java -jar .jar file name

Guess you like

Origin blog.51cto.com/11315052/2453943