spring boot启动报错:No active profile set, falling back to default profiles: default
来源:互联网 发布:苹果远程桌面连接软件 编辑:程序博客网 时间:2024/05/24 05:08
在基于spring boot的hello world下添加
<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>1.4.1.RELEASE</version><relativePath/></parent>
启动失败,日志有如下记录:
No active profile set, falling back to default profiles: default
原因:1. yml文件放错了位置,具体是在src/main/resources(这个可以在spring-boot-starter-parent的pom文件里查看)
2. .m2里的jar包没有下完全,删了,然后update project
阅读全文
0 0
- spring boot启动报错:No active profile set, falling back to default profiles: default
- Spring 启动时报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 Boot启动报错:Failed to instantiate [ClassName]: No default constructor found;
- spring.profiles.default
- 使用Spring报错:No default constructor found;
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- 启动hive报错[ERROR] Terminal initialization failed; falling back to unsupported
- hive启动报错:Terminal initialization failed; falling back to unsupported
- 启动hive报错:[ERROR] Terminal initialization failed; falling back to unsupported
- 启动hive报错:[ERROR] Terminal initialization failed; falling back to unsupported
- 关于启动图片 Default.png报错
- mysql启动报错 unknown variable 'default-character-set=utf8'
- nginx 安装时候报错:make: *** No rule to make target `build', needed by `default'. Stop.
- 使用spring boot连接数据库出现no profiles are currently active的问题
- Spring与Hibernate整合报错:unable to get the default bean validation
- Container With Most Water--LeetCode
- Opencv 2.4.9在Ubuntu下的配置安装
- 四大组件之broadcastReceiver
- clang忽略警告
- MySQL中select * for update锁表的问题 由于InnoDB预设是Row-Level Lock,所以只有「明确」的指定主键,MySQL才会执行Row lock (只锁住被选取的资料例
- spring boot启动报错:No active profile set, falling back to default profiles: default
- c 取整方法
- 一种手感很好的18650电池
- 解析《c++primer》中的Sales_item.h文件
- Spring AOP详解
- 关于接下来的学习计划(11月-次年1月)
- 记录Java的验证码生成工具类
- HDU 1176 免费馅饼
- 分别使用PreparedStatement和Statement对mysql数据库进行创建表,增加数据,查询数据和删除数据过程