我的配置服务器运行在localhost:8888上,但是当我尝试从配置服务器获取信任时,它显示了以下错误
Config data location 'configserver:http://localhost:8888/' does not exist
Action:
Check that the value 'configserver:http://localhost:8888/' at class path resource
[application.properties] - 2:22 is correct, or prefix it with 'optional:'我的另一个微服务有这个application.properties
spring.application.name=limits-service
spring.config.import=configserver:http://localhost:8888/
spring.profiles.active=dev发布于 2022-07-12 14:54:28
在将文本configserver从
spring.config.import性质
在此之前
spring.config.import=configserver:http://localhost:8888/
之后
spring.config.import=http://localhost:8888/
https://stackoverflow.com/questions/71765871
复制相似问题