在finchley.sr2中找不到@hystrixcommand

时间:2018-11-23 05:54:56

标签: spring-cloud hystrix

遵循Spring Guide无效。 根据其他用户的提示,我手动添加了此依赖项。

实施com.netflix.hystrix:hystrix-javanica:RELEASE

1 个答案:

答案 0 :(得分:0)

添加此依赖项implementation 'com.netflix.hystrix:hystrix-javanica'后,它可以找到注释@HystrixCommand。 然后,我尝试删除此依赖项,它仍然有效。 也许只是加载缓慢?