2

我在使用open-feign时遇到了一些麻烦

我正在使用:Hoxton.RELEASE使用 Spring-boot 版本2.2.1.RELEASE

Caused by: feign.FeignException: status 400 reading Service#method(List,String); content:
    at feign.FeignException.errorStatus(FeignException.java:62)
    at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:91)
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:134)
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
    at feign.hystrix.HystrixInvocationHandler$1.run(HystrixInvocationHandler.java:108)
    at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:301)
    at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:297)
    at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
    ... 26 common frames omitted

当列表大小太大时会发生此错误

如果列表大小很小,则执行成功

谢谢!</p>

4

0 回答 0