Not able to connect with Salesforce, We need to read data from Salesforce, we are getting
NoClassDefFoundError: scala/Product$class
Code:
%scala
val sfDF = spark.
read.
format("com.springml.spark.salesforce").
option("username", "sfdfusername").
option("password", ""sfdfpassword").").
option("soql", "select * from table").
option("version", "37.0").
load()
Added below libraries also to the cluster, but not sure why we still facing the issue:
com.springml:spark-salesforce_2.11:1.1.3
org.scala-lang:scala-library:2.13.10