java.lang.NoClassDefFoundError

org/eclipse/swt/widgets/Layout

Samebug tips4

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

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 web19022

  • org/eclipse/swt/widgets/Layout
  • org/eclipse/swt/widgets/Display
  • via Google Groups by Zou Zhi Le, 1 year ago
    org/eclipse/swt/widgets/ Display
  • Stack trace

    • java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56) Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Layout at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more

    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

    11 times, 1 month ago
    Unknown user
    2 times, 2 months ago
    3 times, 3 months ago
    Once, 4 months ago
    Unknown user
    Once, 4 months ago
    1535 more bugmates