springboot多环境配置文件、

使用springboot2.1.1-RELEASE脚手架创建web、 多环境配置文件目录结构、 application.yml配置文件如下: server: servlet: context-path: / spring: profiles: active: test #配置文件切换成test 环境 把环境切换到测试环境中、测试端口为8011 、重启main测试; a
相关文章
相关标签/搜索