现象:错误提示信息:
No active profile set, falling back to 1 default profile: "default"
当前状态:
应配置了 bootstrap.yml
spring:
application:
# 应用名称
name: sh-auth
profiles:
# 环境配置
active: dev
解决方案:
在跟节点pom中加入:
org.springframework.cloud spring-cloud-starter-bootstrap



