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

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

GitHub user xfournet opened a pull request:

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

    SM-3633 add missing import package of Jackson in Kafka bundle

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xfournet/servicemix-bundles SM-3633

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #110
    
----
commit 2f02669928e59d4ee3a333a00339ee5d0a2d0f76
Author: xfournet <xfournet@...>
Date:   2018-02-14T15:59:39Z

    SM-3633 add missing import package of Jackson

----


> 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
>            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 
> will be provided



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

Reply via email to