java.lang.NoClassDefFoundError: net.jini.loader.pref.PreferredClassProvider

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

Solutions on the web

via river-user by Greg Trasuk, 1 year ago
via river-user by Gus Heck, 1 year ago
via incubator-river-user by Greg Trasuk, 1 year ago
via river-user by Greg Trasuk, 1 year ago
via incubator-river-user by Gus Heck, 1 year ago
via river-user by Gus Heck, 1 year ago
java.lang.NoClassDefFoundError: net.jini.loader.pref.PreferredClassProvider
at java.rmi.server.RMIClassLoader.initializeProvider(RMIClassLoader.java:687)
at java.rmi.server.RMIClassLoader.access$000(RMIClassLoader.java:110)
at java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:120)
at java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at java.rmi.server.RMIClassLoader.(RMIClassLoader.java:117)
at net.jini.loader.ClassLoading.loadClass(ClassLoading.java:138)
at net.jini.io.MarshalInputStream.resolveClass(MarshalInputStream.java:296)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at net.jini.io.MarshalledInstance.get(MarshalledInstance.java:358)
at net.jini.discovery.LookupDiscovery$13.run(LookupDiscovery.java:3327)
at net.jini.discovery.LookupDiscovery.doUnicastDiscovery(LookupDiscovery.java:3324)
at net.jini.discovery.LookupDiscovery.doUnicastDiscovery(LookupDiscovery.java:3355)
at net.jini.discovery.LookupDiscovery.access$3900(LookupDiscovery.java:696)

Users with the same issue

You are the first who have seen this exception.

Write tip

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