The version of scala is 2.11.8 ; jdk is 1.8 ; spark is 2.0.2
I try to run an example of LDA model in the offical site of spark apache, I got error message from following sentence:
val dataset = spark.read.format("libsvm")
.load("data/libsvm_data.txt")
The error massage is:
Error:(49, 25) value read is not a member of org.apache.spark.SparkContext val dataset = spark.read.format("libsvm") ^
I don't know how to solve it.