title: apache spark Streaming error
body: <p>I'm working with maven under apche spark (streaming). And with scala programming.
  In fact, I have a small problem with the following instruction:</p>
  
  <pre><code>val sc= new StreamingContext(conf , Seconds(1))
  </code></pre>
  
  <p>If I lace the instruction the code is correct.</p>
  
  <p>This is my full code (Network Word Count) :</p>
  
  <pre><code>import org.apache.spark.SparkConf 
  import org.apache.spark.streaming.{Seconds, StreamingContext} 
  import org.apache.spark.storage.StorageLevel 
  
  object WordCountStreaming { 
    def main(args: Array[String]): Unit = { 
      val conf = new SparkConf() .setMaster("local")
             .setAppName("WordCountStreaming") 
             .set("spark.driver.allowMultipleContexts","true"); val sc= new 
      StreamingContext(conf , Seconds(1)) val lines = 
        sc.socketTextStream(args(0), args(1).toInt, 
      StorageLevel.MEMORY_AND_DISK_SER) sc.start() sc.awaitTermination() 
    }
  }
  </code></pre>