Can someone please help here. I tried both scala 2.10 and 2.11 on the system
On Fri, Jul 22, 2016 at 7:59 PM, VG <vlin...@gmail.com> wrote: > I am using version 2.0.0-preview > > > > On Fri, Jul 22, 2016 at 7:47 PM, VG <vlin...@gmail.com> wrote: > >> 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 >> > >