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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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}

,
Expert 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.

Solutions on the web

via Google Groups by rohit vaidya, 10 months ago
com.sun.glass.ui.monocle.MonoclePlatformFactory. I get a similar error on Travis ci as well.
via Stack Overflow by Unknown author, 2 years ago
com.sun.glass.ui.monocle.MonoclePlatformFactory
via GitHub by Ortner
, 1 year ago
com.sun.glass.ui.monocle.MonoclePlatformFactory
via GitHub by JordanMartinez
, 2 months ago
com.sun.glass.ui.monocle.MonoclePlatformFactory
via Stack Overflow by displayname
, 1 year ago
org.apache.juli.logging.LogFactory when I start my web application. As you can see in the image below, I have tomcat-juli.jar in my classpath for the Tomcat server configuration but it's still not working. Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
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

2 times, 11 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3132 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.