Exception in thread "main" feign.FeignException:

Exception in thread "main" feign.FeignException: status 404 reading FeignClient#getCal(int,int); content:
{"timestamp":"2018-04-28T06:44:18.551+0000","status":404,"error":"Not Found","message":"No message available","path":"/cal/jia/5/7"}

此报错是我在做feign调用接口时出现的报错,问题是接口处:
使用@PathVariable接收参数
这里写图片描述

使用@RequestParam接收参数

猜你喜欢

转载自blog.csdn.net/z_k_h/article/details/80137692