It looks like you don't put some third party jars in your class path which are used by the camel components. If you don't need those camel components, you don't need to include the components jars when you start up the camel context.
Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Fri, Mar 24, 2017 at 9:21 AM, vonezzz <34618...@qq.com> wrote: > 2017-03-24 08:57:10.011 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.xmlrpc.converter.XmlRpcConverter as a dependent > class could not be found: java.lang.NoClassDefFoundError: > org/apache/xmlrpc/XmlRpcRequest java.lang.NoClassDefFoundError: > org/apache/xmlrpc/XmlRpcRequest > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: org.apache.xmlrpc. > XmlRpcRequest > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.012 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.netty.NettyConverter as a dependent class could > not be found: java.lang.NoClassDefFoundError: > org/jboss/netty/buffer/ChannelBufferInputStream > java.lang.NoClassDefFoundError: > org/jboss/netty/buffer/ChannelBufferInputStream > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: > org.jboss.netty.buffer.ChannelBufferInputStream > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.014 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.spring.ws.converter.StringSourceConverter as a > dependent class could not be found: java.lang.NoClassDefFoundError: > org/springframework/xml/transform/StringSource > java.lang.NoClassDefFoundError: > org/springframework/xml/transform/StringSource > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: > org.springframework.xml.transform.StringSource > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.015 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.groovy.converter.GPathResultConverter as a dependent > class > could not be found: java.lang.NoClassDefFoundError: > groovy/util/slurpersupport/GPathResult java.lang.NoClassDefFoundError: > groovy/util/slurpersupport/GPathResult > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: > groovy.util.slurpersupport.GPathResult > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.016 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.influxdb.converters.CamelInfluxDbConverters as > a > dependent class could not be found: java.lang.NoClassDefFoundError: > org/influxdb/dto/Point java.lang.NoClassDefFoundError: > org/influxdb/dto/Point > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: org.influxdb.dto.Point > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.018 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.elasticsearch.converter. > ElasticsearchActionRequestConverter > as a dependent class could not be found: java.lang.NoClassDefFoundError: > org/elasticsearch/action/index/IndexRequest java.lang. > NoClassDefFoundError: > org/elasticsearch/action/index/IndexRequest > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: > org.elasticsearch.action.index.IndexRequest > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.020 DEBUG > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:297 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.aws.kinesis.RecordStringConverter as a > dependent > class could not be found: java.lang.NoClassDefFoundError: > com/amazonaws/services/kinesis/model/Record java.lang. > NoClassDefFoundError: > com/amazonaws/services/kinesis/model/Record > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: > com.amazonaws.services.kinesis.model.Record > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > 2017-03-24 08:57:10.029 WARN > org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 > loadConverterMethods - Ignoring converter type: > org.apache.camel.component.mail.MailConverters as a dependent class could > not be found: java.lang.NoClassDefFoundError: > [Lcom/sun/mail/imap/SortTerm; > java.lang.NoClassDefFoundError: [Lcom/sun/mail/imap/SortTerm; > at java.lang.Class.getDeclaredMethods0(Native Method) > ~[?:1.8.0_121] > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > ~[?:1.8.0_121] > at java.lang.Class.getDeclaredMethods(Class.java:1975) > ~[?:1.8.0_121] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader. > loadConverterMethods(AnnotationTypeConverterLoader.java:262) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load( > AnnotationTypeConverterLoader.java:130) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry. > loadTypeConverters(BaseTypeConverterRegistry.java:602) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.converter.DefaultTypeConverter.doStart( > DefaultTypeConverter.java:53) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.util.ServiceHelper.startService( > ServiceHelper.java:75) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doAddService( > DefaultCamelContext.java:1283) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.addService( > DefaultCamelContext.java:1243) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverter( > DefaultCamelContext.java:2369) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry( > DefaultCamelContext.java:2392) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization( > DefaultCamelContext.java:3745) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel( > DefaultCamelContext.java:3086) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2957) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext$2.call( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader( > DefaultCamelContext.java:2976) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.doStart( > DefaultCamelContext.java:2953) > [camel-core-2.18.1.jar:2.18.1] > at org.apache.camel.support.ServiceSupport.start( > ServiceSupport.java:61) > [camel-core-2.18.1.jar:2.18.1] > at > org.apache.camel.impl.DefaultCamelContext.start( > DefaultCamelContext.java:2920) > [camel-core-2.18.1.jar:2.18.1] > at com.rr.mep.test.CamelTest.main(CamelTest.java:77) [classes/:?] > Caused by: java.lang.ClassNotFoundException: com.sun.mail.imap.SortTerm > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_121] > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > ~[?:1.8.0_121] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_121] > ... 23 more > > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/why-need-the-jars-but-i-don-t-use-the-component-tp5796060.html > Sent from the Camel - Users mailing list archive at Nabble.com. >