title: eclipse(set with scala envirnment) : object apache is not a member of package org
body: <p><a href="https://i.stack.imgur.com/eRCMM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eRCMM.jpg" alt="enter image description here"></a></p>
  
  <p>As shown in image, its giving error when i am importing the Spark packages. Please  help. When i hover there, it shows "object apache is not a member of package org". 
  I searched on this error, it shows spark jars has not been imported. So, i imported "spark-assembly-1.4.1-hadoop2.2.0.jar" too. But still same error.Below is what i actually want to run:</p>
  
  <pre><code> import org.apache.spark.{SparkConf, SparkContext}
   object ABC {
  
   def main(args: Array[String]){
  //Scala Main Method
  
  println("Spark Configuration")
  
  val conf = new SparkConf()
  
  conf.setAppName("My First Spark Scala Application")
  
  conf.setMaster("spark://ip-10-237-224-94:7077")
  
  println("Creating Spark Context")
  }
  }
  </code></pre>