转: https://blog.csdn.net/a565649077/article/details/81042742
其中遇到问题:
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>
然后成功运行