java.lang.NoClassDefFoundError: org/apache/nifi/spark/NiFiReceiver at <app name>.main(main.scala)

Stack Overflow | codeandchips | 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

    Dependency error when running a Spark application that instantiates a NiFi receiver

    Stack Overflow | 8 months ago | codeandchips
    java.lang.NoClassDefFoundError: org/apache/nifi/spark/NiFiReceiver at <app name>.main(main.scala)
  2. 0

    java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory

    Stack Overflow | 1 year ago | franco
    java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory
  3. 0

    TestCase:net.opentsdb.tsd.TestGraphHandler fail

    GitHub | 2 years ago | yangjiandan
    java.lang.NoClassDefFoundError: Could not initialize class net.opentsdb.tsd.GraphHandler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when running the application after a sbt reload

    GitHub | 3 years ago | yanns
    java.lang.NoClassDefFoundError: Could not initialize class net.contentobjects.jnotify.JNotify
  6. 0

    Javadoc is unable to find the RESTdoclet

    GitHub | 3 years ago | mhcentral
    java.lang.NoClassDefFoundError: com.iggroup.oss.restdoclet.doclet.XmlDoclet (initialization failure)

  1. tfr 1 times, last 10 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.nifi.spark.NiFiReceiver

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Method.invoke
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. java.lang.ClassLoader.loadClass(Unknown Source)
    4. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    5. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    7. java.lang.reflect.Method.invoke(Unknown Source)
    7 frames
  3. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames