java - Illegal access error when initializing SparkConf - MLLIB -
team, i'm playing around spark , mllib. installed scala , spark, versions mentioned below. scala - 2.11.7 spark - 1.4.0 (did mvn package -dscala-2.11) i'm trying run java classification, clustering examples came along documentation. however, i'm getting illegal access error when i'm trying initialize sparkconf object. i'm trying basic : > sparkconf conf = new sparkconf().setappname("svm classifier example"); > sparkcontext sc = new sparkcontext(conf); please find error trace below : exception in thread "main" java.lang.illegalaccesserror: tried access method scala.collection.mutable.hashset.()v class org.apache.spark.util.utils$ @ org.apache.spark.util.utils$.(utils.scala:195) @ org.apache.spark.util.utils$.(utils.scala) @ org.apache.spark.sparkconf.(sparkconf.scala:58) @ multinomiallogisticregressionexample.main(multinomiallogisticregressionexample.java:15) how go this? did googling , couldn...