Xavier Fournet created SM-3633: ---------------------------------- Summary: Kafka OSGI bundle miss import of Jackson packages Key: SM-3633 URL: https://issues.apache.org/jira/browse/SM-3633 Project: ServiceMix Issue Type: Bug Components: bundles Reporter: Xavier Fournet
When starting Kafka we face the following exception: {noformat} java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException at kafka.utils.ZkUtils$ClusterId$.toJson(ZkUtils.scala:299) at kafka.utils.ZkUtils.createOrGetClusterId(ZkUtils.scala:314) at kafka.server.KafkaServer$$anonfun$getOrGenerateClusterId$1.apply(KafkaServer.scala:356) at kafka.server.KafkaServer$$anonfun$getOrGenerateClusterId$1.apply(KafkaServer.scala:356) at scala.Option.getOrElse(Option.scala:121) at kafka.server.KafkaServer.getOrGenerateClusterId(KafkaServer.scala:356) at kafka.server.KafkaServer.startup(KafkaServer.scala:197) at ..... Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingException not found by org.apache.servicemix.bundles.kafka_2.11 [231] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1550) at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1958) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 17 more{noformat} adding the import package of Jackson package fix the problem. Pull request will be provided -- This message was sent by Atlassian JIRA (v7.6.3#76005)