springboot启动失败( No active profile set, falling back to default profiles: default)
问题:
springboot启动失败( No active profile set, falling back to default profiles: default)
解决方法
在pom.xml文件中增加以下依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>