kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hussein Baghdadi <hubaghd...@hotmail.com>
Subject Does Kafka 0.8 works with Scala 2.9.2 ?
Date Tue, 30 Oct 2012 16:07:19 GMT

I cloned Kafka 0.8 and build it on my machine (OS X)
My project is built with Scala 2.9.2 . So in my build file I indicated that Scala version
is 2.9.2
Upon trying to send a message to Kafka topic, I got:
Caused by: java.lang.NoClassDefFoundError: scala/Tuple2$mcLL$sp	at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29)
... 31 moreCaused by: java.lang.ClassNotFoundException: scala.Tuple2$mcLL$sp	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)	... 32 more
Any idea what might going wrong?
Thanks for help and time. 		 	   		  
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message