camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkarkhanis <vkarkha...@gmail.com>
Subject Camel 2.11.0 -- TypeConverterLoaderException
Date Wed, 10 Jul 2013 03:36:10 GMT
Hello,
We switched from camel 2.9.0 to 2.11.0 version. However, when we load the
camel context (using springs dsl), we get following exception:


Exception in thread "main" org.apache.camel.RuntimeCamelException:
org.apache.camel.TypeConverterLoaderException: Failed to load type
converters because of: Cannot find any type converter classes from the
following packages:
[org.apache.camel.scala.converter.ScalaMutableCollections,
org.apache.camel.scala.converter.ScalaOption,
org.apache.camel.scala.converter.ScalaImmutableCollections]
        at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1338)
        at
org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:1091)
        at
org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry(DefaultCamelContext.java:1106)
        at
org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization(DefaultCamelContext.java:2154)
        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1573)
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1478)
        at
org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1446)
        at
org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
        at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
        at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:287)
        at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
        at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
        at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
  ......
...
...

Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load
type converters because of: Cannot find any type converter classes from the
following packages:
[org.apache.camel.scala.converter.ScalaMutableCollections,
org.apache.camel.scala.converter.ScalaOption,
org.apache.camel.scala.converter.ScalaImmutableCollections]
        at
org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:117)
        at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.loadTypeConverters(BaseTypeConverterRegistry.java:511)
        at
org.apache.camel.impl.converter.DefaultTypeConverter.doStart(DefaultTypeConverter.java:42)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1803)
        at
org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:959)
        at
org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:920)
        at
org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:1089)
        ... 19 more


Is this because of camel-scala-2.9.0-2.11.0.jar ? 
Do we need to add any more jars..?


Thank you,
Regards

vkarkhanis




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-11-0-TypeConverterLoaderException-tp5735404.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message