java.lang.NoClassDefFoundError: Could not > initialize class sun.awt.X11GraphicsEnvironment

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

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via Google Groups by Andrea Mariottini, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Google Groups by Mathieu P, 4 months ago
Could not initialize class > > > > > com.sun.opengl.impl.windows.WindowsGLDrawableFactory
via GitHub by ArekCzarnik
, 2 years ago
Could not initialize class com.ryantenney.metrics.spring.ExceptionMeteredMethodInterceptor
via Stack Overflow by MichalB
, 2 years ago
Could not initialize class com.sun.opengl.impl.windows.WindowsGLDrawableFactory
via Stack Overflow by Unknown author, 2 years ago
Could not initialize class com.fasterxml.jackson.databind.ObjectMapper
via redhat.com by Unknown author, 1 year ago
Could not initialize class com.sun.opengl.impl.x11.X11GLDrawableFactory
java.lang.NoClassDefFoundError: Could not > initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)

Users with the same issue

6 times, 5 months ago
2 times, 6 months ago
60 times, 11 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
69 more bugmates

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