java.lang.NoClassDefFoundError: javafx/util/Pair

GitHub | skidder | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JavaFX dependency complicates deployment

    GitHub | 6 months ago | skidder
    java.lang.NoClassDefFoundError: javafx/util/Pair

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javafx/util/Pair

      at org.numenta.nupic.algorithms.TemporalMemory.compute()
    2. org.numenta.nupic
      Layer$FunctionFactory$2.call
      1. org.numenta.nupic.algorithms.TemporalMemory.compute(TemporalMemory.java:145)
      2. org.numenta.nupic.network.Layer.temporalInput(Layer.java:1942)
      3. org.numenta.nupic.network.Layer$FunctionFactory$2.call(Layer.java:2285)
      4. org.numenta.nupic.network.Layer$FunctionFactory$2.call(Layer.java:2274)
      4 frames
    3. rxjava
      PublishSubject.onNext
      1. rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
      2. rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
      3. rx.internal.operators.OperatorFilter$1.onNext(OperatorFilter.java:54)
      4. rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
      5. rx.internal.operators.OperatorCast$1.onNext(OperatorCast.java:50)
      6. rx.internal.operators.OperatorFilter$1.onNext(OperatorFilter.java:54)
      7. rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:224)
      8. rx.subjects.PublishSubject.onNext(PublishSubject.java:114)
      8 frames
    4. org.numenta.nupic
      KeyedHTMInferenceOperator.processElement
      1. org.numenta.nupic.network.Layer.compute(Layer.java:937)
      2. org.numenta.nupic.network.Region.compute(Region.java:250)
      3. org.numenta.nupic.network.Network.computeImmediate(Network.java:630)
      4. org.numenta.nupic.flink.streaming.api.operator.AbstractHTMInferenceOperator.processInput(AbstractHTMInferenceOperator.java:122)
      5. org.numenta.nupic.flink.streaming.api.operator.AbstractHTMInferenceOperator.processElement(AbstractHTMInferenceOperator.java:102)
      6. org.numenta.nupic.flink.streaming.api.operator.KeyedHTMInferenceOperator.processElement(KeyedHTMInferenceOperator.java:95)
      6 frames
    5. org.apache.flink
      StreamTask.invoke
      1. org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:176)
      2. org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:66)
      3. org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:266)
      3 frames