[
https://issues.apache.org/jira/browse/KAFKA-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197344#comment-13197344
]
Jay Kreps commented on KAFKA-259:
---------------------------------
This is covered in the README and the releases come with packaged jars. The
only thing I think we could do better is error out if there are no jars in
dist, let's change this bug to be about doing that.
> Exception in thread "main" java.lang.NoClassDefFoundError: kafka/Kafka Caused
> by: java.lang.ClassNotFoundException: kafka.Kafka
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-259
> URL: https://issues.apache.org/jira/browse/KAFKA-259
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: Mac OSX Lion
> Reporter: Ross Crawford-d'Heureuse
> Priority: Minor
>
> Hi there, I've cloned from the kafka github repo and tried to run the start
> server script:
> ./bin/kafka-server-start.sh config/server.properties
> Which results in:
> Exception in thread "main" java.lang.NoClassDefFoundError: kafka/Kafka
> Caused by: java.lang.ClassNotFoundException: kafka.Kafka
> 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)
> It seems that Im missing a build step? what have I forgotten to do?
> Thanks in advance and I look forward to using kafka.
> regards
> rcdh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira