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>

文章来自:https://www.cnblogs.com/dayspring/p/11319639.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3