如果你遇到这个错误。
Field userFeign in com.woniu.user.controller.HomeController required a bean of type 'com.woniu.user.feign.UserFeign' that could not be found.
很可能是主启动类上,没加这个注解 @EnableFeignClients
如果你遇到这个错误。
Field userFeign in com.woniu.user.controller.HomeController required a bean of type 'com.woniu.user.feign.UserFeign' that could not be found.
很可能是主启动类上,没加这个注解 @EnableFeignClients