java.lang.NoClassDefFoundError: javax/bluetooth/DiscoveryListener

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

,
Expert tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

,
Expert tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Solutions on the web

via GitHub by GoogleCodeExporter
, 10 months ago
javax/bluetooth/DiscoveryListener
via GitHub by GoogleCodeExporter
, 10 months ago
javax/bluetooth/DiscoveryListener
via GitHub by GoogleCodeExporter
, 1 year ago
javax/bluetooth/DiscoveryListener
via GitHub by GoogleCodeExporter
, 10 months ago
javax/bluetooth/DiscoveryListener
via GitHub by GoogleCodeExporter
, 10 months ago
javax/bluetooth/DiscoveryListener
via GitHub by GoogleCodeExporter
, 10 months ago
javax/bluetooth/DiscoveryListener
java.lang.NoClassDefFoundError: javax/bluetooth/DiscoveryListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:98)
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:91)
at lejos.pc.comm.NXTConnector.search(NXTConnector.java:111)
at lejos.pc.comm.NXTConnector.connectTo(NXTConnector.java:235)
at lejos.pc.comm.NXTConnector.connectTo(NXTConnector.java:55)
at lejos.pc.tools.Upload.upload(Upload.java:38)
at lejos.pc.tools.NXJUpload.run(NXJUpload.java:93)
at lejos.pc.tools.NXJUpload.start(NXJUpload.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at lejos.pc.tools.ToolStarter.startTool(ToolStarter.java:31)
at lejos.pc.tools.NXJUpload.main(NXJUpload.java:29)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 10 months ago
Samebug visitor profile picture
Unknown user
4 times, 1 year ago
Once, 11 months ago

Write tip

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