解决 spring cloud 项目的 com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect 错误信息

在项目中引入:引入hystrix依赖,如下

 <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>

以上是针对cloud Finchley.SR2 版本,不同版本 artifactId 有所不同。

posted @ 2018-10-30 14:11  架构师聊技术  阅读(7383)  评论(0)    收藏  举报