Skip to content

Instantly share code, notes, and snippets.

@kojofosu
Last active December 12, 2021 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kojofosu/ed9866ac6b65b3a30afda39e7d6f5405 to your computer and use it in GitHub Desktop.
Save kojofosu/ed9866ac6b65b3a30afda39e7d6f5405 to your computer and use it in GitHub Desktop.
command to run maven spring boot app with cmd
### 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