SpringBoot: No active profile set, falling back to default profiles: default , 不一定是依赖的问题
SpringBoot项目启动后 迅速 执行结束,控制台打印: No active profile set, falling back to default profiles: default
解决,增加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>