Hi All,

I am currently trying to use camel-dozer (2.9.2) component on ServiceMix 4.4.1:

When I try to start the bundle, I get the following exception:
org.osgi.service.blueprint.container.ComponentDefinitionException: Error when 
instanciating bean mapper of class class org.dozer.DozerBeanMapper
        at 
org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:269)[10:org.apache.aries.blueprint:0.3.1]
        at 
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:706)[10:org.apache.aries.blueprint:0.3.1]
.....
Caused by: org.dozer.MappingException: java.lang.ClassNotFoundException: 
org.dozer.util.DefaultClassLoader
        at 
org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:82)
        at 
org.dozer.util.DefaultClassLoader.loadClass(DefaultClassLoader.java:38)
        at org.dozer.DozerInitializer.loadBeanType(DozerInitializer.java:115)
        at org.dozer.DozerInitializer.initialize(DozerInitializer.java:97)

I do not thing this is a camel specific issue.. thus this mailing list.
When I get headers info on the camel-dozer feature, I get the following bundles 
included:
mvn:net.sf.dozer/dozer-osgi/5.3.2
....

Is that the right library dozer-osgi to be used within smx? 

I saw a Servicemix bundle:
<dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.dozer</artifactId>
        <version>5.3.2_1</version>
</dependency>
            
Is it be used somehow ?

Thanks for your help :)

Regards,
Guillaume.

Reply via email to