title: spark, kafka integration issue: object kafka is not a member of org.apache.spark.streaming
body: <p>I am receiving error while building my spark application (scala) in IntelliJ IDE. 
  It is a simple application with uses Kafka Stream for further processing. I have added all the jars and the IDE does not show any unresolved import or code statements. </p>
  
  <p>However, when I try to build the artifact, I get two errors stating that 
  Error:(13, 35) object kafka is not a member of package </p>
  
  <pre><code>org.apache.spark.streaming
  import org.apache.spark.streaming.kafka.KafkaUtils
  
  Error:(35, 60) not found: value KafkaUtils
      val messages: ReceiverInputDStream[(String, String)] = KafkaUtils.createStream(streamingContext,zkQuorum,"myGroup",topics)
  </code></pre>
  
  <p>I have seen similar questions but most of the ppl complain about this issue while submitting to spark. However, I one step behind that and merely building the jar file which would be submitted ultimately to spark. On top I am using IntelliJ IDE and a bit new to spark and scala; lost here.</p>
  
  <p>Below is the snapshot of the IntelliJ Error
  <a href="https://i.stack.imgur.com/F1hbP.png" rel="nofollow noreferrer">IntelliJ Error</a></p>
  
  <p>Thanks </p>
  
  <p>Omer</p>