首页
移动开发
物联网
服务端
编程语言
企业开发
数据库
业界资讯
其他
搜索
Intellij Idea配置springBoot多环境/配置文件
其他
2020-01-14 10:41:23
阅读次数: 0
因为项目需要,需要每个微服务对应各自名称的配置文件.所有有了本文.
配置文件名称: application-api.properties
方法一 : 设置 Active profiles
方法二: Program arguments:输入指令 --spring.profiles.active=api
方法三: Environment variables: 输入spring.profiles.active=dev
点赞
收藏
分享
文章举报
张伯毅
博客专家
发布了295 篇原创文章
·
获赞 783
·
访问量 32万+
他的留言板
关注
猜你喜欢
转载自
blog.csdn.net/zhanglong_4444/article/details/103822931
Intellij Idea配置springBoot多环境/配置文件
IntelliJ IDEA-配置文件位置
IntelliJ IDEA maven环境配置
IntelliJ IDEA 配置开发环境
IntelliJ IDEA开发环境配置
IDEA Intellij 打开springboot项目 配置文件无法出现输入提示
intellij idea springboot mybatis 配置文件找不到Failed to configure a DataSource: 'url' attribute is not specified and no em
intellij idea springboot无法读取配置文件的解决方法
IntelliJ IDEA :配置.gitignore文件
解决IntelliJ IDEA无法读取配置文件的问题
IntelliJ IDEA-配置文件位置更改
IntelliJ IDEA自动提交配置文件
IntelliJ IDEA(的springboot项目)环境准备(配置maven和jdk)
【Intellij Idea】Intellij Idea常用配置设置
IntelliJ IDEA配置JDK
intellij idea配置yuicompressor
IntelliJ IDEA 配置 SVN
IntelliJ IDEA项目配置
Intellij Idea 配置 GitHub
IntelliJ IDEA 配置Maven
Intellij idea 使用配置
IntelliJ IDEA + Tomcat 配置
IntelliJ IDEA配置SVN
intellij IDEA配置tomcat
Intellij IDEA 配置Jetty
配置自己的Intellij IDEA
IntelliJ IDEA配置maven
intellIJ idea 常用配置
IntelliJ IDEA 配置 JDK
IntelliJ IDEA 配置
今日推荐
周排行
成为C++高手之宏与枚举
在CAD二次开发中使用进度条
Js插件ECharts,HighCharts学习网址整理
Celery提交任务出错(on windows.)
cephfs内核客户端性能追踪
thinkphp中PHPExcel用法
EntityFramework动态组合多排序字段
汇编语言(八)实验9 根据材料编程
安装ubuntu后必须做的事情(对我而言)
JS函数式编程
每日归档
更多
2024-10-22(0)
2024-10-21(0)
2024-10-20(0)
2024-10-19(0)
2024-10-18(0)
2024-10-17(0)
2024-10-16(0)
2024-10-15(0)
2024-10-14(0)
2024-10-13(0)