title: object SparkSession is not a member of package org.apache.spark.sql
body: <p>I am trying to use the latest Spark api with SparkSession.</p>
  
  <p>While i am importing the package, my eclipse is showing an error show in attachment.</p>
  
  <p>I am using 2.10.6 scala compiler.</p>
  
  <p>Please help me to resolve this issue.</p>
  
  <p><img src="https://i.stack.imgur.com/aLQ8F.jpg" alt="pom">
  <img src="https://i.stack.imgur.com/6V6tU.jpg" alt="code"></p>