You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2015/07/27 17:20:05 UTC
[jira] [Created] (CAMEL-9026) ClassNotFoundException:
kafka.serializer.StringEncoder
Thomas Diesler created CAMEL-9026:
-------------------------------------
Summary: ClassNotFoundException: kafka.serializer.StringEncoder
Key: CAMEL-9026
URL: https://issues.apache.org/jira/browse/CAMEL-9026
Project: Camel
Issue Type: Bug
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)