JavaShuo
栏目
标签
Spring 启动时报No active profile set, falling back to default profiles default
时间 2021-01-08
标签
spring
栏目
Spring
繁體版
原文
原文链接
这在Spring程序启动时没有找到默认的配置文件所引发的错误,默认文件application.yml如下图: 一般在项目中都会有多个,如有正式环境、测试环境等。如下图: 根据上面这种多个配置的只需要IDEA配置下,如下面三张图: 第一步 第二步 第三步 配置好后,就会发现程序可以正常启动了
>>阅读原文<<
相关文章
1.
Spring 启动时报No active profile set, falling back to default profiles default
2.
No active profile set, falling back to default profiles: default
3.
SpringCloud 启动时报No active profile set, falling back to default profiles default
4.
Spring Boot 启动:No active profile set, falling back to default profiles: default
5.
spring boot 启动失败,不报错No active profile set, falling back to default profiles: default
6.
spring boot profile配置和启动时no active profile set, falling back to default profiles: default的问题
7.
【Linux】Set CentOS no GUI default
8.
Springboot之运行报错No active profile set
9.
scala终端启动报错:[ERROR] Failed to construct terminal; falling back to unsupported
10.
Spring boot启动报错记录
更多相关文章...
•
SQL DEFAULT 约束
-
SQL 教程
•
MySQL默认值(DEFAULT)
-
MySQL教程
•
Spring Cloud 微服务实战(三) - 服务注册与发现
•
算法总结-滑动窗口
相关标签/搜索
default
1.default
falling
profile
profiles
active
启动
set
时报
报时
Spring
Spring教程
Redis教程
MyBatis教程
spring cloud
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
1.2 Illustrator多文档的几种排列方式
2.
5.16--java数据类型转换及杂记
3.
性能指标
4.
(1.2)工厂模式之工厂方法模式
5.
Java记录 -42- Java Collection
6.
Java记录 -42- Java Collection
7.
github使用
8.
Android学习笔记(五十):声明、请求和检查许可
9.
20180626
10.
服务扩容可能引入的负面问题及解决方法
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Spring 启动时报No active profile set, falling back to default profiles default
2.
No active profile set, falling back to default profiles: default
3.
SpringCloud 启动时报No active profile set, falling back to default profiles default
4.
Spring Boot 启动:No active profile set, falling back to default profiles: default
5.
spring boot 启动失败,不报错No active profile set, falling back to default profiles: default
6.
spring boot profile配置和启动时no active profile set, falling back to default profiles: default的问题
7.
【Linux】Set CentOS no GUI default
8.
Springboot之运行报错No active profile set
9.
scala终端启动报错:[ERROR] Failed to construct terminal; falling back to unsupported
10.
Spring boot启动报错记录
>>更多相关文章<<