在bootstrap.yaml写了spring.profiles.active=dev,application.yaml没写。
启动的时候报错没有指定profile



只要spring.profiles.active=dev写在bootstrap.yaml就出现这个错误,用了nacos-config
本文由博客一文多发平台 OpenWrite 发布!
在bootstrap.yaml写了spring.profiles.active=dev,application.yaml没写。
启动的时候报错没有指定profile
只要spring.profiles.active=dev写在bootstrap.yaml就出现这个错误,用了nacos-config
本文由博客一文多发平台 OpenWrite 发布!
本文标题:关于springboot配置文件的问题
本文链接:https://www.haomeiwen.com/subject/pjgsoctx.html
网友评论