I have this error while trying to compile the project
/src/main/scala/org/dbpedia/spotlight/wikistats/ComputeStats.scala:99: error: type mismatch;
[ERROR] found : org.apache.spark.rdd.RDD[Nothing]
[ERROR] required: org.apache.spark.rdd.RDD[(Long, String, Int)]
[ERROR] Note: Nothing <: (Long, String, Int), but class RDD is invariant in type T.
[ERROR] You may wish to define T as +T instead. (SLS 4.5)
[ERROR] spotterSfsRDD
Hi,
I have this error while trying to compile the project
/src/main/scala/org/dbpedia/spotlight/wikistats/ComputeStats.scala:99: error: type mismatch; [ERROR] found : org.apache.spark.rdd.RDD[Nothing] [ERROR] required: org.apache.spark.rdd.RDD[(Long, String, Int)] [ERROR] Note: Nothing <: (Long, String, Int), but class RDD is invariant in type T. [ERROR] You may wish to define T as +T instead. (SLS 4.5) [ERROR] spotterSfsRDD
Regards,