Spring 启动时报No active profile set, falling back to default profiles default
来源:互联网 发布:聊天机器人 知乎 编辑:程序博客网 时间:2024/06/08 06:23
这在Spring程序启动时没有找到默认的配置文件所引发的错误,默认文件application.yml如下图:
一般在项目中都会有多个,如有正式环境、测试环境等。如下图:
根据上面这种多个配置的只需要IDEA配置下,如下面三张图:
第一步
第二步
第三步
配置好后,就会发现程序可以正常启动了
阅读全文
7 0
- Spring 启动时报No active profile set, falling back to default profiles default
- spring boot启动报错:No active profile set, falling back to default profiles: default
- No active profile set, falling back to default profiles: default
- No active profile set, falling back to default profiles: default
- spring.profiles.default
- android 项目导入Eclipse各个版本时报Project has no default.properties file! Edit the project properties to set
- Spring Boot启动报错:Failed to instantiate [ClassName]: No default constructor found;
- Struts2 启动时报警告:no default parameter defined for result of type json
- watir-webdriver启动Firefox遇到unable to find profile named: "default"
- Project has no default.properties file! Edit the project properties to set one.错误解决方法
- Project has no default.properties file! Edit the project properties to set one.错误解决方法
- Project has no default.properties file! Edit the project properties to set one.错误解决方法
- 问题1:Project has no default.properties file! Edit the project properties to set one.
- Project has no default.properties file! Edit the project properties to set one.错误解决方法
- Project has no default.properties file! Edit the project properties to set one.错误解决方案
- Project has no default.properties file! Edit the project properties to set one.错误解决方案
- Project has no default.properties file! Edit the project properties to set one
- Project has no default.properties file! Edit the project properties to set one.错误解决方案
- 第一天
- vim 插件 Ycm安装
- broadcom Knet 功能调试记录
- Minicom安装和使用和lte调试方法
- 如何通过反射使用一个类的方法
- Spring 启动时报No active profile set, falling back to default profiles default
- Maven与Gradle项目互转
- AP_应付税务预扣税Withholding Tax中付款时产生预扣税(案例)
- 《C语言程序设计教程》(主编黄迪明、余勤)第七章课后习题答案
- 1、蓝牙核心技术了解(蓝牙协议、架构、硬件和软件笔记)
- sklearn.preprocessing.Binarizer
- MySQL IFNULL()函数用法MySQL
- 中文域名目前的注册情况怎么样?
- Unity调用sprite renderer更改物体颜色