破解配置难题:让Application.yml识别并响应Pom.xml Profile的变化一、背景 希望能够实现根据不同的环境动态读取对应的配置。 二、准备bootstrap.yml文件内容 spring:profiles:active: @profile.name@1月前110