title: Spark Kafka Streaming Issue
body: <p>I am using maven</p>
  
  <p>i have added the following dependencies</p>
  
  <pre><code>   &lt;dependency&gt; &lt;!-- Spark dependency --&gt;
        &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
        &lt;artifactId&gt;spark-streaming_2.10&lt;/artifactId&gt;
        &lt;version&gt;1.1.0&lt;/version&gt;
      &lt;/dependency&gt;   &lt;dependency&gt; &lt;!-- Spark dependency --&gt;
        &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
        &lt;artifactId&gt;spark-streaming-kafka_2.10&lt;/artifactId&gt;
        &lt;version&gt;1.1.0&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I have also added the jar in the code</p>
  
  <pre><code>SparkConf sparkConf = new SparkConf().setAppName("KafkaSparkTest");
  JavaSparkContext sc = new JavaSparkContext(sparkConf);
  sc.addJar("/home/test/.m2/repository/org/apache/spark/spark-streaming-kafka_2.10/1.0.2/spark-streaming-kafka_2.10-1.0.2.jar");
  JavaStreamingContext jssc = new JavaStreamingContext(sc, new Duration(5000)); 
  </code></pre>
  
  <p>It comples fine with out any error , i am getting the following error when i run through spark-submit, any help is much appreciated. Thanks for your time.</p>
  
  <pre><code>bin/spark-submit --class "KafkaSparkStreaming" --master local[4] try/simple-project/target/simple-project-1.0.jar
  </code></pre>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/streaming/kafka/KafkaUtils
        at KafkaSparkStreaming.sparkStreamingTest(KafkaSparkStreaming.java:40)
        at KafkaSparkStreaming.main(KafkaSparkStreaming.java:23)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:303)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    Caused by: java.lang.ClassNotFoundException: org.apache.spark.streaming.kafka.KafkaUtils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)</p>
  </blockquote>