[ 
https://issues.apache.org/jira/browse/SM-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364342#comment-16364342
 ] 

ASF GitHub Bot commented on SM-3633:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/servicemix-bundles/pull/110


> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> 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 is 
> available https://github.com/apache/servicemix-bundles/pull/110



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to