2 Answers2

2

I meet the same problem, because I specified scala.version=2.11.8 when I build PredictionIO but the engine template I used was build with scala 2.10.

so I edit build.sbt file under engine's folder, and add scalaVersion := "2.11.8", re-run the build command(pio build --verbose), then everything build finished successfully.

FelixHo
  • 1,254
  • 14
  • 26
0

Check which version of scala you are using in the engine's build.sbt version and make sure you use that version when you build from source like this:

./make-distribution.sh -Dscala.version=<PUT CORRECT SCALA VERSION HERE> -Dspark.version=2.1.0 -Delasticsearch.version=2.3.3

mgcdanny
  • 1,082
  • 1
  • 13
  • 20