Description
I made some changes to the spring-boot integration test and ran it to check how we are going (I'll push the updated version soon). I let the test fix automatically many of the dependency issues about logging and missing libraries, so here I provide a list of components that have some real problems running in spring-boot.
I think we should either fix them, or change the corresponding test (eg. to include a required lib). Once all issues are fixed, the test can be automated.
camel-xmlbeans
The spring.factories file declares an auto-configuration class that does not exist.
2016-07-03 17:25:27.445 ERROR 21216 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication : Application startup failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.apache.camel.itest.springboot.ITestApplication]; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:462) ~[spring-context-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:186) ~[spring-context-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.selectImports(EnableAutoConfigurationImportSelector.java:87) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:454) ~[spring-context-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 160 common frames omitted Caused by: java.io.FileNotFoundException: class path resource [org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:50) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:98) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:93) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.boot.autoconfigure.AutoConfigurationSorter$AutoConfigurationClasses.<init>(AutoConfigurationSorter.java:112) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.boot.autoconfigure.AutoConfigurationSorter.getInPriorityOrder(AutoConfigurationSorter.java:56) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.sort(EnableAutoConfigurationImportSelector.java:173) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.selectImports(EnableAutoConfigurationImportSelector.java:82) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] ... 161 common frames omitted
camel-bindy
Spring seems to be unable to inject the parameter of type BindyFixedLengthDataFormatConfiguration into the auto-configuration method in class BindyFixedLengthDataFormatAutoConfiguration.
2016-07-03 15:28:05.014 WARN 27144 --- [on(4)-127.0.0.1] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'configureBindyFixedLengthDataFormat' defined in class path resource [org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration]: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} 2016-07-03 15:28:05.018 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.spring.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel-1) is shutting down 2016-07-03 15:28:05.036 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.spring.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel-1) uptime 2016-07-03 15:28:05.036 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.spring.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel-1) is shutdown in 0.018 seconds 2016-07-03 15:28:05.046 ERROR 27144 --- [on(4)-127.0.0.1] o.s.boot.SpringApplication : Application startup failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'configureBindyFixedLengthDataFormat' defined in class path resource [org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration]: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} ... Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1119) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 165 common frames omitted
camel-mongodb-gridfs and camel-mongodb
It seems that the Spring configurator assumes that spring-data-mongodb is present in classpath, but it is not. We can either add it, change the test to include the lib and/or fix the Spring configurator.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGLIB$$6bcc435e]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/mongodb/core/MongoClientFactoryBean 2016-07-03 16:34:38.417 ERROR 10484 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication : Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGLIB$$6bcc435e]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/mongodb/core/MongoClientFactoryBean at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGLIB$$6bcc435e]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/mongodb/core/MongoClientFactoryBean at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 163 common frames omitted Caused by: java.lang.NoClassDefFoundError: org/springframework/data/mongodb/core/MongoClientFactoryBean at org.springframework.boot.autoconfigure.data.mongo.MongoClientDependsOnBeanFactoryPostProcessor.<init>(MongoClientDependsOnBeanFactoryPostProcessor.java:41) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration.<init>(EmbeddedMongoAutoConfiguration.java:207) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGLIB$$6bcc435e.<init>(<generated>) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_91] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_91] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_91] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_91] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 165 common frames omitted
camel-optaplanner
This module requires an old version of logback 1.0.x, as it depends (internally, it doesn't have a logback.xml file) on a removed class: ch/qos/logback/core/joran/spi/Pattern. But spring-boot-starter requires logback 1.1.x, because it uses a new class: ch/qos/logback/core/joran/spi/ElementSelector.
java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/ElementSelector at org.springframework.boot.logging.logback.SpringBootJoranConfigurator.addInstanceRules(SpringBootJoranConfigurator.java:45) at ch.qos.logback.core.joran.GenericConfigurator.buildInterpreter(GenericConfigurator.java:123) at ch.qos.logback.core.joran.JoranConfiguratorBase.buildInterpreter(JoranConfiguratorBase.java:102) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:154) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56) at org.springframework.boot.logging.logback.LogbackLoggingSystem.configureByResourceUrl(LogbackLoggingSystem.java:163) at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:135) at org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:195) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:65) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:50) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106) at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:277) at org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:255) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:224) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:200) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121) at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) at org.apache.camel.itest.springboot.ITestApplication.main(ITestApplication.java:32) ... 147 more Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.joran.spi.ElementSelector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178) at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 175 more
camel-sjms
It seems an auto-configuration class is assuming that atomikos is in the classpath.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsConnectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/atomikos/icatch/system/Configuration at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... Caused by: java.lang.NoClassDefFoundError: com/atomikos/icatch/system/Configuration at com.atomikos.jms.AtomikosConnectionFactoryBean.doInit(AtomikosConnectionFactoryBean.java:441) ~[transactions-jms-3.9.3.jar!/:na] at com.atomikos.jms.AtomikosConnectionFactoryBean.init(AtomikosConnectionFactoryBean.java:360) ~[transactions-jms-3.9.3.jar!/:na] at org.springframework.boot.jta.atomikos.AtomikosConnectionFactoryBean.afterPropertiesSet(AtomikosConnectionFactoryBean.java:50) ~[spring-boot-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 164 common frames omitted Caused by: java.lang.ClassNotFoundException: com.atomikos.icatch.system.Configuration at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_91] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_91] at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178) ~[test.jar!/:na] at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142) ~[test.jar!/:na] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_91] ... 169 common frames omitted
zipkin-starter
Zipkin starts and crashes, but it has not been activated through the @CamelZipkin annotation on the main class.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zipkinEventNotifier' defined in class path resource [org/apache/camel/zipkin/starter/ZipkinAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.zipkin.ZipkinTracer]: Factory method 'zipkinEventNotifier' threw exception; nested exception is org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: SpanCollector must be specified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.zipkin.ZipkinTracer]: Factory method 'zipkinEventNotifier' threw exception; nested exception is org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: SpanCollector must be specified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 164 common frames omitted Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: SpanCollector must be specified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1690) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.ZipkinTracer.init(ZipkinTracer.java:133) ~[camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration.zipkinEventNotifier(ZipkinAutoConfiguration.java:59) ~[camel-zipkin-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBySpringCGLIB$$6227270b.CGLIB$zipkinEventNotifier$0(<generated>) ~[camel-zipkin-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBySpringCGLIB$$6227270b$$FastClassBySpringCGLIB$$95cb7a49.invoke(<generated>) ~[camel-zipkin-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) ~[spring-context-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBySpringCGLIB$$6227270b.zipkinEventNotifier(<generated>) ~[camel-zipkin-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] ... 165 common frames omitted Caused by: java.lang.IllegalArgumentException: SpanCollector must be specified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:327) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.ZipkinTracer.doStart(ZipkinTracer.java:325) ~[camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1277) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1237) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] at org.apache.camel.zipkin.ZipkinTracer.init(ZipkinTracer.java:131) ~[camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] ... 176 common frames omitted