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

发布时间:2019-05-15 14:00:08发布者:Mr.Zhang阅读(1,205)

报错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>

  





本文转自博客园,原文地址:https://www.cnblogs.com/wuxiang12580/p/10867848.html