kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wm <wmartin...@gmail.com>
Subject Re: exception when running kafka
Date Sun, 09 Sep 2012 04:12:51 GMT
Hey Daniel:

echo $CLASSPATH and send that to us.  And look inside 
bin/kafka_run_shell.sh. Its important to understand the latter.

Will

On 09/08/2012 11:34 PM, Daniel Kersten wrote:
> 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
>


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