iI am newbie ontrying Spark Twitter Streaming example with Scala using Maven
i did the Twitter example but once iI am getting below error when I run it using Maven i have the following error
Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
below isBelow are my dependencies:
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming_2.10</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-twitter_2.11</artifactId>
<version>1.6.2</version>
</dependency>
i knew todayI know that the Logging isLogging
has been moved to org.apache.spark.internal.Logging i dontorg.apache.spark.internal.Logging
but I don't know if it is the reason , iI already tried to change the version of dependencies to the latest one but with no luck
please help me as i spend all the day to fix it.