Spark Twitter Streaming exception : (org.apache.spark.Logging) classnotfound
<p>I am trying Spark Twitter Streaming example with Scala using Maven but I am getting below error when I run it:</p>

<blockquote>
  <p>Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging</p>
</blockquote>

<p>Below are my dependencies:</p>

<pre><code>&lt;dependencies&gt;
&lt;dependency&gt;
    &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
    &lt;artifactId&gt;spark-core_2.10&lt;/artifactId&gt;
    &lt;version&gt;2.0.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
    &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
    &lt;artifactId&gt;spark-streaming_2.10&lt;/artifactId&gt;
    &lt;version&gt;2.0.0&lt;/version&gt;
&lt;/dependency&gt; 
&lt;dependency&gt;
    &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
    &lt;artifactId&gt;spark-streaming-twitter_2.11&lt;/artifactId&gt;
    &lt;version&gt;1.6.2&lt;/version&gt; 
&lt;/dependency&gt; 
</code></pre>

<p>I know that the <code>Logging</code> has been moved to <code>org.apache.spark.internal.Logging</code> but I don't know if it is the reason , I already tried to change the version of dependencies to the latest one but with no luck.</p>