Re: NoClassDefFoundError exception when trying to instantiate a ProducerConfig

2013-04-05 Thread Jun Rao
You should only include the 2.8 scala jar. Thanks, Jun On Fri, Apr 5, 2013 at 9:41 AM, Withers, Robert wrote: > Hi, > > I have an Eclipse java project, with the 2.9.1 scala jar > (scala-library-2.9.1.RC4.jar) in the build path, as well as the > kafka_2.8.0-0.8-SNAPSHOT.jar. I wrote the simple

NoClassDefFoundError exception when trying to instantiate a ProducerConfig

2013-04-05 Thread Withers, Robert
Hi, I have an Eclipse java project, with the 2.9.1 scala jar (scala-library-2.9.1.RC4.jar) in the build path, as well as the kafka_2.8.0-0.8-SNAPSHOT.jar. I wrote the simple Producer example and try to run it and it fails with a NoClassDefFoundError runtime exception. Here is my code and the