SpringCloud进行openFeign服务调用时的错误

feign.FeignException: status 404 reading NotOperationFeignClient#findByCityName(String); content






进入 Nacos 观察 服务是否注册成功
SpringCloud进行openFeign服务调用时的错误



然后进入服务消费方 controller 层 观察 url 是否出错
SpringCloud进行openFeign服务调用时的错误




再进入 服务消费方 的service 层 检查
SpringCloud进行openFeign服务调用时的错误SpringCloud进行openFeign服务调用时的错误


最后进入 服务提供方的 Controller 层 对应方法 查看
SpringCloud进行openFeign服务调用时的错误