原因是我用了Feign,但是在主启动里面没有用@EnableFeignClients注解
@SpringBootApplication
@EnableFeignClients
public class OrderHystrixMain80 {
public static void main(String[] args) {
SpringApplication.run(OrderHystrixMain80.class,args);
}
}
更多推荐
Consider defining a bean of type com.tb.springcloude.service.PaymentHystrix
发布评论