kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Lugowski <adam.lugow...@turn.com>
Subject util.parsing.json and Scala 2.12
Date Tue, 30 May 2017 21:41:23 GMT
Is anyone else seeing this?

java.lang.NoClassDefFoundError: scala/util/parsing/json/JSON$
at kafka.utils.Json$.<init>(Json.scala:28)
at kafka.utils.Json$.<clinit>(Json.scala)
at
kafka.consumer.ZookeeperConsumerConnector.kafka$consumer$ZookeeperConsumerConnector$$registerConsumerInZK(ZookeeperConsumerConnector.scala:276)
at
kafka.consumer.ZookeeperConsumerConnector.consume(ZookeeperConsumerConnector.scala:264)
at
kafka.javaapi.consumer.ZookeeperConsumerConnector.createMessageStreams(ZookeeperConsumerConnector.scala:84)


The cause appears to be a reference to util.parsing.json package, which is
removed in scala-library 2.12

-- 
Adam Lugowski
Lead Software Engineer, Turn Inc.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message