title: Spark sql errors
body: <p>I try to work with spark-sql but I had the following errors :</p>
  
  <blockquote>
    <p>error: missing or invalid dependency detected while loading class file
    'package.class'. Could not access term annotation in package
    org.apache.spark, because it (or its dependencies) are missing. Check
    your build definition for missing or conflicting dependencies. (Re-run
    with <code>-Ylog-classpath</code> to see the problematic classpath.) A full
    rebuild may help if 'package.class' was compiled against an
    incompatible version of org.apache.spark. warning: Class
    org.apache.spark.annotation.InterfaceStability not found - continuing
    with a stub. error: missing or invalid dependency detected while
    loading class file 'SparkSession.class'. Could not access term
    annotation in package org.apache.spark, because it (or its
    dependencies) are missing. Check your build definition for missing or
    conflicting dependencies. (Re-run with <code>-Ylog-classpath</code> to see the
    problematic classpath.) A full rebuild may help if
    'SparkSession.class' was compiled against an incompatible version of
    org.apache.spark.</p>
  </blockquote>
  
  <p>My configuration : </p>
  
  <ul>
  <li>Scala 2.11.8 <br></li>
  <li>Spark-core_2.11-2.1.0 <br></li>
  <li><p>Spark-sql_2.11-2.1.0 <br></p></li>
  <li><p>Note: I use SparkSession.</p></li>
  </ul>