I am running into the following error when running ALS

Exception in thread "main" java.lang.NoSuchMethodError:
scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;
at org.apache.spark.ml.recommendation.ALS.fit(ALS.scala:452)
at yelp.TestUser.main(TestUser.java:101)

here line 101 in the above error is the following in code.

ALSModel model = als.fit(training);


Does anyone has a suggestion what is going on here and where I might be
going wrong ?
Please suggest

-VG

Reply via email to