java.lang.NoClassDefFoundError: javax/jmdns/ServiceListener

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via askubuntu.com by Unknown author

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

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

Solutions on the web

via GitHub by docbender
, 10 months ago
javax/jmdns/ServiceListener
via Stack Overflow by Unknown author, 2 years ago
javax/transaction/TransactionManager
via GitHub by geb-bot
, 1 year ago
javax/servlet/ServletContextListener
via Stack Overflow by user2742409
, 1 year ago
javax/xml/rpc/encoding/SerializerFactory
via Stack Overflow by Al Ivon
, 1 year ago
javax/servlet/ServletContextListener
via Google Groups by Adrian Nye, 8 months ago
javax/servlet/ServletContextListener
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)
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.(DiscoveryManager.java:44)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:495)
at processing.app.Base.(Base.java:257)
at processing.app.Base.main(Base.java:140)

Users with the same issue

Once, 4 hours ago
1421 times, 9 hours ago
3 times, 11 hours ago
6 times, 19 hours ago
Once, 1 day ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.