原文:Spring Boot 启动报错解决:No active profile set, falling back to default profiles: default

启动 Spring Boot 失败,但是没有出现多余的异常信息: 检查之后发现是依赖的问题 之前依赖的是 spring boot starter ,修改即可: 方法二: pom.xml加上下面两个依赖 lt dependency gt lt groupId gt org.springframework.boot lt groupId gt lt artifactId gt spring boot ...

2020-07-05 22:34 0 556 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM