java.lang.ClassCastException: org.template.vanilla.VanillaEngine$ cannot be cast to io.prediction.controller.EngineFactory

Google Groups | Kim Trang Le | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error when training KMean clustering

    Google Groups | 1 year ago | Kim Trang Le
    java.lang.ClassCastException: org.template.vanilla.VanillaEngine$ cannot be cast to io.prediction.controller.EngineFactory
  2. 0

    PredictionIO - Error when trainning kmean clustering

    Stack Overflow | 1 year ago | Le Kim Trang
    java.lang.ClassCastException: com.biglabs.VanillaEngine$ cannot be cast to io.prediction.controller.EngineFactory

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.template.vanilla.VanillaEngine$ cannot be cast to io.prediction.controller.EngineFactory

      at io.prediction.workflow.WorkflowUtils$.getEngine()
    2. io.prediction.workflow
      CreateWorkflow.main
      1. io.prediction.workflow.WorkflowUtils$.getEngine(WorkflowUtils.scala:69)
      2. io.prediction.workflow.CreateWorkflow$.liftedTree1$1(CreateWorkflow.scala:193)
      3. io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:192)
      4. io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:665)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:170)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:193)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:112)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames