java.lang.NoClassDefFoundError: Could not initialize class org.nd4j.linalg.factory.Nd4j

GitHub | kwhitehall | 8 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

    GitHub comment 113#239840635

    GitHub | 8 months ago | kwhitehall
    java.lang.NoClassDefFoundError: Could not initialize class org.nd4j.linalg.factory.Nd4j

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.nd4j.linalg.factory.Nd4j

      at org.nd4j.Nd4jRegistrator.registerClasses()
    2. org.nd4j
      Nd4jRegistrator.registerClasses
      1. org.nd4j.Nd4jRegistrator.registerClasses(Nd4jRegistrator.java:18)
      1 frame
    3. Spark
      KryoSerializer$$anonfun$newKryo$6.apply
      1. org.apache.spark.serializer.KryoSerializer$$anonfun$newKryo$6.apply(KryoSerializer.scala:124)
      2. org.apache.spark.serializer.KryoSerializer$$anonfun$newKryo$6.apply(KryoSerializer.scala:124)
      2 frames
    4. Scala
      Option.foreach
      1. scala.Option.foreach(Option.scala:236)
      1 frame
    5. Spark
      TorrentBroadcast.writeBlocks
      1. org.apache.spark.serializer.KryoSerializer.newKryo(KryoSerializer.scala:124)
      2. org.apache.spark.serializer.KryoSerializerInstance.borrowKryo(KryoSerializer.scala:273)
      3. org.apache.spark.serializer.KryoSerializerInstance.<init>(KryoSerializer.scala:258)
      4. org.apache.spark.serializer.KryoSerializer.newInstance(KryoSerializer.scala:174)
      5. org.apache.spark.broadcast.TorrentBroadcast$.blockifyObject(TorrentBroadcast.scala:201)
      6. org.apache.spark.broadcast.TorrentBroadcast.writeBlocks(TorrentBroadcast.scala:102)
      6 frames