启动 Spring Boot 失败,但是没有出现多余的异常信息,显示内容如下:
解决办法:
将pom.xml文件中的spring-boot-starter
依赖修改为spring-boot-starter-web
:
从上图中可以看出,spring-boot-starter-web
包含spring-boot-starter
。
Spring Boot 启动:No active profile set, falling back to default profiles: default
最新推荐文章于 2025-03-31 10:08:20 发布