springboot项目启动报错:No active profile set, falling back to default profiles: default
项目启动失败,控制台显示异常信息
解决办法:在pom文件中添加spring-boot-starter-web依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>