1.No active profile set, falling back to default profiles: default

1.项目依赖问题

添加启动

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>

参考

https://www.cnblogs.com/sunjinggege/p/14336186.html

原文地址:https://www.cnblogs.com/javakangkang/p/15184293.html