2017-08-07 1 views
1

Nachdem ich den Quickstart (für 0.11.1 Build) auf https://predictionio.incubator.apache.org/templates/recommendation/quickstart/ verfolgt habe, konnte ich die Template/Engine nicht bauen (Ich habe versucht, sowohl MyRecommendation als auch eine andere NLP Vorlage zu erstellen). pio build --verbose endet mit:Vorhersage IO: Build, keine Engine gefunden

[INFO] [Engine$] Compilation finished successfully. 
[INFO] [Engine$] Looking for an engine... 
[ERROR] [Engine$] No engine found. Your build might have failed. Aborting. 

Wenn ich versuche, pio train laufen sie nicht mit:

Exception in thread "main" scala.ScalaReflectionException: object org.example.recommendation.RecommendationEngine not found. 

Der Zuhörer ok läuft, pio status (Daten können auch über curl gezogen werden):

[INFO] [Management$] Inspecting PredictionIO... 
[INFO] [Management$] PredictionIO 0.11.1-SNAPSHOT is installed at /home/us/proj/incubator-predictionio/PredictionIO-0.11.1-SNAPSHOT 
[INFO] [Management$] Inspecting Apache Spark... 
[INFO] [Management$] Apache Spark is installed at /home/us/proj/incubator-predictionio/PredictionIO-0.11.1-SNAPSHOT/vendors/spark-2.1.1-bin-hadoop2.6 
[INFO] [Management$] Apache Spark 2.1.1 detected (meets minimum requirement of 1.3.0) 
[INFO] [Management$] Inspecting storage backend connections... 
[INFO] [Storage$] Verifying Meta Data Backend (Source: PGSQL)... 
[INFO] [Storage$] Verifying Model Data Backend (Source: PGSQL)... 
[INFO] [Storage$] Verifying Event Data Backend (Source: PGSQL)... 
[INFO] [Storage$] Test writing to Event Store (App Id 0)... 
[INFO] [Management$] Your system is all ready to go. 

Irgendwelche Ideen?

Antwort

0

Geben Sie Ihre scala-Version in Ihrem build.sbt Beispiel

scalaVersion: = "2.11.8"

Verwandte Themen