Created
February 17, 2020 18:24
-
-
Save zxx/e98bf8f7b9a08b4d005233dbcfd80048 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 | |
mvn spring-boot:run | |
# 2 | |
mvn install | |
java -jar target/xxx.jar |
java -jar xxx.jar --server.port=8888
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
指定 test 环境,会只用 application-test.yml
java -jar xxx.jar --spring.profiles.active=test