解决feign使用hystrix报错:
Caused by: java.lang.ClassNotFoundException: com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect
版本升级到Dalston.SR4之后feign使用hystrix时启动报如上错误
解决办法:引入hystrix依赖包,不然找不到hystrix-contrib包
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-hystrix</artifactId>
</dependency>