java.lang.NoClassDefFoundError

javax/jmdns/ServiceListener


Samebug tips5

Set the path for java. Try to look it from here.

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web3894

Solution icon of github
via GitHub by docbender
, 6 months ago
javax/jmdns/ServiceListener

Solution icon of github
via GitHub by sparadiso
, 8 months ago
javax/jmdns/JmDNS

Solution icon of github
via GitHub by tilowr
, 2 months ago
javax/jmdns/JmDNS

Solution icon of web
javax/jmdns/impl/tasks/state/Canceler

Solution icon of github
org/osgi/framework/ServiceListener

Solution icon of github
via GitHub by esp1
, 1 year ago
org/osgi/framework/ServiceListener

Solution icon of stackoverflow
org/jboss/msc/service/ServiceListener$Inheritance

Solution icon of web
via blogspot.ca by Unknown author, 1 year ago
javax/jmsJMSException

Solution icon of web
via blogspot.com by Unknown author, 10 months ago
javax/jmsJMSException

Solution icon of googlegroups
via Google Groups by ivan, 1 month ago
javax/sql/

Stack trace

  • java.lang.NoClassDefFoundError: javax/jmdns/ServiceListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at cc.arduino.packages.DiscoveryManager.<init>(DiscoveryManager.java:44) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:495) at processing.app.Base.<init>(Base.java:257) at processing.app.Base.main(Base.java:140) Caused by: java.lang.ClassNotFoundException: javax.jmdns.ServiceListener at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 16 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 days ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
1597 more bugmates