Kafka
  1. Kafka
  2. KAFKA-259

Give better error message when trying to run shell scripts without having built/downloaded the jars yet

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
    • Environment:
      Mac OSX Lion

      Description

      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

      1. KAFKA-259-v1.patch
        2 kB
        Ashwanth Fernando
      2. KAFKA-259-v2.patch
        1.0 kB
        Ashwanth Fernando

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Ross Crawford-d'Heureuse
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development