Hi,

I'm new to kafka (and scala). I downloaded 0.7.1 (I also tried the latest
from svn) and followed the quick start guide. When I try to start the
server, I get the following exception. Does anybody know what's going on
and how I can fix it? Thanks!

[dan@localhost kafka-0.7.1-incubating]$ bin/kafka-server-start.sh
config/server.properties
Exception in thread "main" java.lang.NoClassDefFoundError: scala/Function0
 at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
 at java.lang.Class.getMethod0(Class.java:2685)
at java.lang.Class.getMethod(Class.java:1620)
 at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:492)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:484)
Caused by: java.lang.ClassNotFoundException: scala.Function0
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 ... 6 more

Reply via email to