![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
spring cloud
spring cloud
三禾大叔
这个作者很懒,什么都没留下…
展开
-
springcloud 的入门资料
链接: https://pan.baidu.com/s/1b67zX0 密码: z83w原创 2017-09-07 16:37:28 · 130 阅读 · 0 评论 -
com.netflix.client.ClientException: Load balancer does not have available serve
问题: com.netflix.client.ClientException: Load balancer does not have available server for client: service-hi 解决方案:在 配置文件application.properties 中添加配置 feign.hystrix.enabled=true ...原创 2017-09-25 16:09:06 · 2274 阅读 · 0 评论 -
com.netflix.hystrix.exception.HystrixRuntimeException: service-feign timed-out a
错误: com.netflix.hystrix.exception.HystrixRuntimeException: service-feign timed-out and no fallback available. 原因: Hystrix缺省超时判断为1秒钟,由于网络问题,有些请求超过1秒钟之后才接收到。 解决: 配置修改请求超时时长(application.yml): ...原创 2017-09-26 14:30:35 · 8613 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value
错误( 如图1 所示 ): 原因( 如图2 所示 ): 如图3 配置文件名称和client的配置文件名称必须保持一致(配置文件名如下) http请求地址和资源文件映射如下: <!--[if !supportLists]-->· <!--[endif]-->/{ application}/{profile}[/...原创 2017-09-27 18:02:29 · 4142 阅读 · 1 评论 -
springcloud foreign 使用断路器不能生效
错误: Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Wed Jan 31 23:10:55 CST 2018 There was an unexpected error (type...原创 2018-01-31 23:02:18 · 1499 阅读 · 0 评论