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>

  

猜你喜欢

转载自www.cnblogs.com/wuxiang12580/p/10867848.html