spring boot 启动报错No active profile set, falling back to default profiles

报错No active profile set, falling back to default profiles

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>

  

posted @ 2019-05-15 10:16  永不飞xiang  阅读(2581)  评论(0编辑  收藏  举报