org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration

GitHub | mstine | 5 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

    If Kafka is started, apps with cloud bus fail to start

    GitHub | 5 months ago | mstine
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration
  2. 0

    Error : Could not evaluate condition on org.springframework.cloud.netflix.zuul.ZuulConfiguration#routeLocator due to com/netflix/zuul/ZuulFilter not found

    GitHub | 5 months ago | sabarnath
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.ss.admin.SpringBootAdminUiApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration
  3. 0

    ClassNotFoundException when using Kafka + Gatling

    GitHub | 4 months ago | raphaelbrugier
    org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.NoClassDefFoundError: scala/util/parsing/json/JSON$
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error starting spring boot openshift application: Unable to start embedded Tomcat

    Stack Overflow | 4 months ago | user525146
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.springframework.cloud.stream.binder.AbstractMessageChannelBinder

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_102]
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_102]
    2 frames
  3. Spring Boot Loader
    LaunchedURLClassLoader.loadClass
    1. org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:89)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_102]
    2. java.lang.ClassLoader.defineClass1(Native Method)[na:1.8.0_102]
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:763)[na:1.8.0_102]
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)[na:1.8.0_102]
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)[na:1.8.0_102]
    6. java.net.URLClassLoader.access$100(URLClassLoader.java:73)[na:1.8.0_102]
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:368)[na:1.8.0_102]
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:362)[na:1.8.0_102]
    9. java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_102]
    10. java.net.URLClassLoader.findClass(URLClassLoader.java:361)[na:1.8.0_102]
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_102]
    11 frames
  5. Spring Boot Loader
    LaunchedURLClassLoader.loadClass
    1. org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:89)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    1 frame
  6. Java RT
    Class.getDeclaredMethods
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_102]
    2. java.lang.Class.getDeclaredMethods0(Native Method)[na:1.8.0_102]
    3. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)[na:1.8.0_102]
    4. java.lang.Class.getDeclaredMethods(Class.java:1975)[na:1.8.0_102]
    4 frames
  7. Spring Core
    StandardAnnotationMetadata.getAnnotatedMethods
    1. org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:152)[spring-core-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    1 frame
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:301)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    2. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    3. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:204)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    4. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:173)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    5. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:324)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    6. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    7. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    8. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    9. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    10. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    10 frames
  9. Spring Boot
    SpringApplicationBuilder.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    4 frames
  10. org.springframework.cloud
    OutputBindingLifecycle.start
    1. org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:185)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    2. org.springframework.cloud.stream.binding.ChannelBindingService.getBinderForChannel(ChannelBindingService.java:142)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    3. org.springframework.cloud.stream.binding.ChannelBindingService.bindProducer(ChannelBindingService.java:104)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    4. org.springframework.cloud.stream.binding.BindableProxyFactory.bindOutputs(BindableProxyFactory.java:206)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    5. org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:57)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    5 frames
  11. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    2. org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    3. org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    4. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    5. org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    6. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:874)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    6 frames
  12. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    1 frame
  13. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
    1 frame
  14. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.1.BUILD-SNAPSHOT.jar!/:1.4.1.BUILD-SNAPSHOT]
    6 frames
  15. org.springframework.cloud
    EurekaApplication.main
    1. org.springframework.cloud.launcher.eureka.EurekaApplication.main(EurekaApplication.java:30)[classes!/:1.2.0.BUILD-SNAPSHOT]
    1 frame
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  17. Spring Boot Loader
    JarLauncher.main
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    2. org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    3. org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    4. org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)[spring-cloud-launcher-eureka-1.2.0.BUILD-SNAPSHOT.jar:1.2.0.BUILD-SNAPSHOT]
    4 frames