springcloud使用常见总是总结


1. feign请求接口 参数不加@RequestParm会报错too many param body
2.spring2.0使用@HystrixCommand回掉的时候,需要引用hystrix-javanica
3.fallback method wasn't found报错
fallbackMethod的方法签名和rest接口的方法不一致,导致的错误。

4.feign熔断器fallback不起作用,默认没有开启,要使用就开启feign.hystrix.enabled=true

原文地址:https://www.cnblogs.com/mscm/p/13064322.html