java.lang.ClassNotFoundException

org.pentaho.packageManagement.DefaultPackage java.net.URLClassLoader.findClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) java.io.ObjectInputStream.resolveClass(Unknown Source) java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) java.io.ObjectInputStream.readClassDesc(Unknown Source) java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) java.io.ObjectInputStream.readObject0(Unknown Source) java.io.ObjectInputStream.readObject(Unknown Source) java.util.ArrayList.readObject(Unknown Source) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) java.io.ObjectStreamClass.invokeReadObject(Unknown Source) java.io.ObjectInputStream.readSerialData(Unknown Source) java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) java.io.ObjectInputStream.readObject0(Unknown Source) java.io.ObjectInputStream.readObject(Unknown Source) weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284) weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178) weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829) weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365) weka.gui.PackageManager.getAllPackages(PackageManager.java:2455) weka.gui.PackageManager.<init>(PackageManager.java:1517) weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)

Samebug tips4

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 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.


rafaelrafael

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

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

Solutions on the web5212

  • via Stack Overflow by Jen
    ,
  • Stack trace

    • java.lang.ClassNotFoundException: org.pentaho.packageManagement.DefaultPackage java.net.URLClassLoader.findClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) java.io.ObjectInputStream.resolveClass(Unknown Source) java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) java.io.ObjectInputStream.readClassDesc(Unknown Source) java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) java.io.ObjectInputStream.readObject0(Unknown Source) java.io.ObjectInputStream.readObject(Unknown Source) java.util.ArrayList.readObject(Unknown Source) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) java.io.ObjectStreamClass.invokeReadObject(Unknown Source) java.io.ObjectInputStream.readSerialData(Unknown Source) java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) java.io.ObjectInputStream.readObject0(Unknown Source) java.io.ObjectInputStream.readObject(Unknown Source) weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284) weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178) weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829) weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365) weka.gui.PackageManager.getAllPackages(PackageManager.java:2455) weka.gui.PackageManager.<init>(PackageManager.java:1517) weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.io.ObjectInputStream.resolveClass(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.ArrayList.readObject(Unknown Source) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284) at weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178) at weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829) at weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365) at weka.gui.PackageManager.getAllPackages(PackageManager.java:2455) at weka.gui.PackageManager.<init>(PackageManager.java:1517) at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1511 more bugmates