feign icon indicating copy to clipboard operation
feign copied to clipboard

@GetMapping Required String parameter is not present

Open programingMa opened this issue 1 year ago • 3 comments

now i get a spring-boot-server(server-a) invoke other(server-b) though feign. Then there is an error. for detail see attach plz. don't why. but this error is not inevitably appearing. seems like when many threads invoke importFacade.status(fileId) this error appeared frequently. thanks for your help. server-a-invok server-b-accept api server-a.log server-b.log

programingMa avatar Dec 22 '23 08:12 programingMa

actually, log shows param 'fileId' is present. but also throw error

programingMa avatar Dec 22 '23 08:12 programingMa

This is Spring Cloud support Annotation ..

Seriels avatar Jan 18 '24 11:01 Seriels

org.springframework.cloud.openfeign.support.SpringMvcContract#getDefaultAnnotatedArgumentsProcessors org.springframework.cloud.openfeign.annotation.RequestParamParameterProcessor
我的 spring cloud open feign2.2.6 没问题。。

Seriels avatar Jan 18 '24 11:01 Seriels