java. lang.IllegalStateException: Either ‘name‘ or ‘value‘ must be provided in @FeignClient

Gentleman jiejie 2022-06-24 07:49:36 阅读数:789

java.javalang.illegalstateexceptionlangillegalstateexception

reason

Use @FeignClient When annotating , Service name is not marked .

Solution

 Insert picture description here
add name perhaps value Attribute is enough .

copyright:author[Gentleman jiejie],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/175/202206240351123490.html