Last active
December 12, 2021 14:19
-
-
Save kojofosu/ed9866ac6b65b3a30afda39e7d6f5405 to your computer and use it in GitHub Desktop.
command to run maven spring boot app with cmd
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
### Template | |
java -Dlogging.config=path/to/log/properties/file -Dserver.port=<port> -jar /path/tp/jar/file --spring.config.location=path/to/application/properties/file | |
### AUTOCOMPLETE SERVER | |
java -Dlogging.config=config/log4j2.properties -jar ServerAutocomplete-1.0-SNAPSHOT.jar --spring.config.location=config/serverautocomplete.properties& | |
### LOOKUP SERVER | |
java -Dlogging.config=config/log4j2.properties -jar ServerLookup-1.0-SNAPSHOT.jar --spring.config.location=config/serverlookup.properties& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment