Could not locate PropertySource: I/O error on GET request

版权声明:原创文章欢迎转载,不过要记得加出处哦 https://blog.csdn.net/wljk506/article/details/82783958
2018-09-20 11:20:30.514  WARN [provider-demo,,,] 17603 --- [on(6)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/provider-demo/dev": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)

问题说明:在 spring boot consul 作为服务注册,和配置中心时出现的错误

只要 配置这个就可以了,这边只是一个日志显示
表示关闭 spring.cloud.config 的配置

spring.cloud.config= false

https://stackoverflow.com/questions/48545123/could-not-locate-propertysource-i-o-error-on-get-request

阅读更多

扫码向博主提问

风.foxwho

非学,无以致疑;非问,无以广识
  • 擅长领域:
  • php
  • java
  • go
  • 架构
  • more
去开通我的Chat快问
相关热词
换一批

没有更多推荐了,返回首页