java.lang.ClassNotFoundException: com.sun.glass.ui.monocle.MonoclePlatformFactory. I get a similar error on Travis ci as well.

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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}"

tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Hadoop does not load jdbc driver
    via by Unknown author,
  • GitHub comment 34#134219362
    via GitHub by brnagendra
    ,
  • GitHub comment 45#141508180
    via GitHub by pkudinov
    ,
  • New Customer: OFBiz E-Commerce Store
    via by Unknown author,
  • Re: Output from Beam (on Flink) to Kafka
    via by William McCarthy,
    • java.lang.ClassNotFoundException: com.sun.glass.ui.monocle.MonoclePlatformFactory. I get a similar error on Travis ci as well. at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:42)

    Users with the same issue

    Unknown visitor1 times, last one,
    jokester
    jokester2 times, last one,
    zokni
    zokni3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1579 more bugmates