Hi All, I am trying to use one of the jackson fasterxml modules i.e. AfterBurner <https://github.com/FasterXML/jackson-module-afterburner>. Now this "afterburner jar" goes inside basecomponent.kar file and this kar file is deployed in servicemix/deploy along with basecomponent.jar
Now when I am using this afterburner module in the code at two separate places, at one place it works fine while at other place it throws the error -> "Class Not Found Exception" for a class that is present in the AfterBurner module "Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.afterburner.deser.BeanPropertyMutator". Code is as follows : ObjectMapper objectMapper = new ObjectMapper(); objectMapper.registerModule(new AfterBurner()); Exception occurs when the following line is executed objectMapper.readValue(jsonObj.toString(), Class.forName(serviceResponseClass)); The only reason that I could suspect for the error scenario is because of the following code flow between bundles: basecomponent -> camel -> basecomponent So can anyone please suggest how to make it work and what would be the right strategy to deploy or use jackson module. Or atleast explain what is exactly happneing. *Any help is much appreciated*. Regards, Ishant 9591051998
