【问题标题】:Error: Invalid or corrupt jarfile occured while trying to build recommendation engine of PredictionIO in Linux machine错误:尝试在 Linux 机器中构建 PredictionIO 的推荐引擎时出现无效或损坏的 jarfile
【发布时间】:2015-07-25 04:20:02
【问题描述】:

尝试使用 PredictionIO 构建推荐引擎时发生错误。请知道如何解决此问题的人。

root@testing:~/PredictionIO/engines# pio build --verbose
[INFO] [Console$] Using command '/root/PredictionIO/sbt/sbt' at the current working directory to build.
[INFO] [Console$] If the path above is incorrect, this process will fail.
[INFO] [Console$] Uber JAR disabled. Making sure lib/pio-assembly-0.9.4.jar is absent.
[INFO] [Console$] Going to run: /root/PredictionIO/sbt/sbt  package assemblyPackageDependency
[ERROR] [Console$] Error: Invalid or corrupt jarfile /root/PredictionIO/sbt/sbt-launch-0.13.7.jar
[ERROR] [Console$] Return code of previous step is 1. Aborting.

【问题讨论】:

    标签: linux jar sbt predictionio


    【解决方案1】:

    帮我下载这个文件

    https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.7/sbt-launch.jar

    将下载的文件重命名为 sbt-launch-0.13.7.jar 并替换 PredictionIO/sbt/ 中的先前文件

    【讨论】:

    • 感谢您的回复。我的问题是由于 Java 安装问题,创建了一个新的 linux 虚拟机副本并安装了 PredictionIO。现在它工作正常。
    猜你喜欢
    • 2016-07-29
    • 1970-01-01
    • 2021-11-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-12
    • 2019-12-04
    • 1970-01-01
    相关资源
    最近更新 更多