Error. An incorrect or corrupt jarfile occurred while trying to create a PredictionIO recommendation mechanism on a Linux machine.

An error occurred while trying to create a recommendation engine using PredictionIO. Please anyone know how to solve this problem.

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.
+4
source share
1 answer

Help me download this file

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

Rename the downloaded file to sbt-launch-0.13.7.jar and replace the previous file with PredictionIO / sbt /

+3
source

Source: https://habr.com/ru/post/1599612/


All Articles