I am building a recommendation system using Apache Spark MLlib
and Java. Once the MatrixFactorizationModel
is built, I have serialized it as a java object and when retrieving the model, I am getting the following exception.
Caused by: java.lang.ClassNotFoundException: org.apache.spark.OneToOneDependency cannot be found by org.scala-lang.scala-library_2.10.4.v20140209-180020-VFINAL-b66a39653b
Any idea how to fix this?