java.lang.NoClassDefFoundError

net.jini.loader.pref.PreferredClassProvider

Solutions on the web18

  • net.jini.loader.pref.PreferredClassProvider
  • net.jini.loader.pref.PreferredClassProvider
  • net.jini.loader.pref.PreferredClassProvider
  • Stack trace

    • 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.<clinit>(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 com.sun.jini.discovery.DiscoveryV1.doUnicastDiscovery(DiscoveryV1.java:397) at net.jini.discovery.LookupDiscovery$13.run(LookupDiscovery.java:3327) at java.security.AccessController.doPrivileged(Native Method) 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) at net.jini.discovery.LookupDiscovery$UnicastDiscoveryTask.run(LookupDiscovery.java:1744) at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.