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

检查之后发现是依赖的问题 之前依赖的是 spring boot starter ,修改即可: pom.xml加上下面两个依赖 lt dependency gt lt groupId gt org.springframework.boot lt groupId gt lt artifactId gt spring boot starter web lt artifactId gt lt depen ...

2020-04-22 14:39 0 763 推荐指数:

查看详情

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