主要是bootstrap.properties没起作用
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
<version>3.0.4</version>
</dependency>
如果加上都没起作用的话
就把nacos关掉重启
本文探讨了在使用Spring Cloud Starter Bootstrap 3.0.4版本时遇到的配置文件bootstrap.properties未生效的问题,并提供了一种可能的解决方案:尝试关闭并重启Nacos服务。
8032

被折叠的 条评论
为什么被折叠?



