个人随笔
目录
feign could not be registered. A bean with that name has already been defined and overriding is disabled
2023-11-08 20:33:28

用springboot整合feign,启动后报错误

  1. feign could not be registered. A bean with that name has already been defined and overriding is disabled

这怎么回事呢?明明只有

  1. @FeignClient(name="stock-service",path="/stock")
  2. public interface StockService {
  3. @RequestMapping("/reduce")
  4. public String reduce(Long merchId);
  5. }

一个呀!

会不会是我拷贝的项目,然后class有缓存,maven clean一下就好了!

无了个大语!

 120

啊!这个可能是世界上最丑的留言输入框功能~


当然,也是最丑的留言列表

有疑问发邮件到 : suibibk@qq.com 侵权立删
Copyright : 个人随笔   备案号 : 粤ICP备18099399号-2