camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9026) ClassNotFoundException: kafka.serializer.StringEncoder
Date Mon, 27 Jul 2015 15:29:08 GMT

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

ASF GitHub Bot commented on CAMEL-9026:
---------------------------------------

GitHub user tdiesler opened a pull request:

    https://github.com/apache/camel/pull/571

    [CAMEL-9026] ClassNotFoundException: kafka.serializer.StringEncoder

    https://issues.apache.org/jira/browse/CAMEL-9026

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

    $ git pull https://github.com/tdiesler/camel CAMEL-9026

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

    https://github.com/apache/camel/pull/571.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 #571
    
----
commit fff0de295c954064b11f6375ffb84aa9dea9c26e
Author: Thomas Diesler <thomas.diesler@jboss.com>
Date:   2015-07-27T15:21:11Z

    [CAMEL-9026] ClassNotFoundException: kafka.serializer.StringEncoder

----


> ClassNotFoundException: kafka.serializer.StringEncoder
> ------------------------------------------------------
>
>                 Key: CAMEL-9026
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9026
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>            Reporter: Thomas Diesler
>             Fix For: 2.16.0
>
>
> KafkaEndpoint cannot load the StringEncoder because we do not expose the Kafka API to
user code. It's an implementation detail of the camel-kafka component and only visible to
that class loader
> {code}
> Caused by: java.lang.ClassNotFoundException: kafka.serializer.StringEncoder
> 	at org.apache.camel.impl.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:80)
> 	at org.apache.camel.component.kafka.KafkaEndpoint.createProducer(KafkaEndpoint.java:83)
> 	at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:431)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message