in this example,it will throw the error: Caused by: java.lang.IllegalStateException: Ambiguous mapping @FeignClient(name="user") @RequestMapping("/userInfo") public interface UserInfoFeign { @PostMapping(value = "/add") String decrMoney(@RequestParam(value = "username") String username,@RequestParam(value = "money") int money); }

however in the example,it works successfully. @FeignClient(name = "user") @RequestMapping("/user") public interface UserFeign {

@GetMapping("/load/{id}")
Result<User> findById(@PathVariable(value = "id") String id);

Comment From: spencergibb

Please post the full exception