Scala IDE: Error while initiating SparkSession


#1

Hello,

I am trying to write a project in Scala IDE and trying to initialize SparkSession object. But, I get an error that:

type builder is not a member of object org.apache.spark.sql.SparkSession

I have set the Scala version to 2.11.8 and I am building this on Spark version 2.2.0.

Can someone please help me out?

Thank you.