SpringBoot Cmd runs the Jar file to specify the active file command as follows
SpringBoot command line specifies the configuration file to run
================================
©Copyright Sweet Potato Yao March 22, 2018
http://fanshuyao.iteye.com/
java -jar -Dspring.profiles.active=zprod lqyspringboot-0.0.1-SNAPSHOT.jar
or
java -jar lqyspringboot-0.0.1-SNAPSHOT.jar --spring.profiles.active=dev
================================
©Copyright Sweet Potato Yao March 22, 2018
http://fanshuyao.iteye.com/