指定配置启动部署项目时,千万不要习惯性带空格,否则"后果自负"
java -jar 31.05.2021-xx.jar --spring.profiles.active=dev
The following profiles are active: dev
加了空格后
java -jar 31.05.2021-xx.jar --spring.profiles.active = dev
No active profile set, falling back to default profiles: default
这问题找起来也麻烦吧?