feign.FeignException$NotFound: status 404 reading ItemService#queryItemById(Long)
at feign.FeignException.errorStatus(FeignException.java:98) ~[feign-core-10.2.3.jar:na]
at feign.FeignException.errorStatus(FeignException.java:86) ~[feign-core-10.2.3.jar:na]
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:93) ~[feign-core-10.2.3.jar:na]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:149) ~[feign-core-10.2.3.jar:na]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:78) ~[feign-core-10.2.3.jar:na]
首先确保方法上注解的url正确,其次注意消费的方法queryItemById 中的方法参数以及参数的注解保持一致