更新时间:2023-11-20 11:55:22
我遇到了同样的问题,因为在构建PredictionIO时我指定了scala.version = 2.11.8,但是我使用的引擎模板是在scala 2.10中构建的./p>
所以我编辑引擎文件夹下的 build.sbt 文件,并添加scalaVersion := "2.11.8"
,重新运行构建命令(pio build --verbose
),然后一切构建成功完成.
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.