java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/GraphicsEnvironment;

Stack Overflow | SumIt Sahu | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Failed resolution of: Ljava/awt/GraphicsEnvironment;

    at weka.core.packageManagement.PackageManager.setProxyAuthentication()
  2. weka.core.packageManagement
    PackageManager.setProxyAuthentication
    1. weka.core.packageManagement.PackageManager.setProxyAuthentication(PackageManager.java:191)
    1 frame
  3. weka-dev
    Bagging.buildClassifier
    1. weka.core.WekaPackageManager.establishWekaHome(WekaPackageManager.java:377)
    2. weka.core.WekaPackageManager.<clinit>(WekaPackageManager.java:162)
    3. weka.core.Utils.readProperties(Utils.java:174)
    4. weka.core.Capabilities.<init>(Capabilities.java:275)
    5. weka.classifiers.AbstractClassifier.getCapabilities(AbstractClassifier.java:508)
    6. weka.classifiers.trees.RandomTree.getCapabilities(RandomTree.java:602)
    7. weka.classifiers.trees.RandomForest.getCapabilities(RandomForest.java:182)
    8. weka.classifiers.meta.Bagging.buildClassifier(Bagging.java:701)
    8 frames
  4. com.example.weirdmyth
    MainActivity$1.onClick
    1. com.example.weirdmyth.testapp.MainActivity.showExtractData(MainActivity.java:68)
    2. com.example.weirdmyth.testapp.MainActivity.access$000(MainActivity.java:18)
    3. com.example.weirdmyth.testapp.MainActivity$1.onClick(MainActivity.java:35)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4794)
    2. android.view.View$PerformClick.run(View.java:19905)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:139)
    6. android.app.ActivityThread.main(ActivityThread.java:5298)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
    2 frames