内容:
org.springframework.context.ApplicationContextException: Failed to start bean ‘outputBindingLifecycle’; nested exception is java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available。

解决思路:

意思大概是本来有一个能绑定的默认对象,但是一个都找不到。

看一下详细信息。
hystrix从上述红色圈住的内容来看大概是和springcloud的hystrix-stream有关。
再从hystrix-stream的特性来推测。因为hystrix是对外持续输出数据的。
所以这个缺少的Binder应该是hystrix-stream在初始化阶段找不到的,能够绑定的默认输出源。

life报错信息也认证了我的观点,在生命周期的初始化阶段没有找到默认输出源。
hystrix-stream的输出源有rabbit和kafa之类。我用的是rabbit。因此加上rabbit依赖
在这里插入图片描述
问题解决!

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐