1.项目依赖问题
添加启动
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency>
参考
https://www.cnblogs.com/sunjinggege/p/14336186.html
1.No active profile set, falling back to default profiles: default