org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.IllegalStateException: A default binder has been requested, but there is more than one binder available: rabbit,consul, and no default binder has been set.

Stack Overflow | EvilJinious1 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Updated to camden release issue

    Stack Overflow | 8 months ago | EvilJinious1
    org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.IllegalStateException: A default binder has been requested, but there is more than one binder available: rabbit,consul, and no default binder has been set.
  2. 0

    GitHub comment 227#163710754

    GitHub | 1 year ago | TabberGit
    org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.IllegalStateException: Cannot perform binding, no proper implementation found

    Root Cause Analysis

    1. java.lang.IllegalStateException

      A default binder has been requested, but there is more than one binder available: rabbit,consul, and no default binder has been set.

      at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder()
    2. org.springframework.cloud
      OutputBindingLifecycle.start
      1. org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:116)
      2. org.springframework.cloud.stream.binding.ChannelBindingService.getBinderForChannel(ChannelBindingService.java:142)
      3. org.springframework.cloud.stream.binding.ChannelBindingService.bindProducer(ChannelBindingService.java:104)
      4. org.springframework.cloud.stream.binding.BindableProxyFactory.bindOutputs(BindableProxyFactory.java:206)
      5. org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:57)
      5 frames
    3. Spring Context
      AbstractApplicationContext.finishRefresh
      1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
      2. org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
      3. org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
      4. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
      5. org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)
      6. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:874)
      6 frames
    4. Spring Boot
      EmbeddedWebApplicationContext.finishRefresh
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)
      1 frame
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
      1 frame
    6. Spring Boot
      SpringApplicationBuilder.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
      3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
      5. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
      5 frames
    7. com.cisco.phisphere
      RouterService.main
      1. com.cisco.phisphere.routerservice.RouterService.main(RouterService.java:30)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. Spring Boot Loader
      JarLauncher.main
      1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      2. org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      3. org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      4. org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)
      4 frames