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

Solutions on the web

via openxava by fjalier
, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via GitHub by yangyanzhe
, 3 months ago
Could not initialize class org.bytedeco.javacpp.opencv_core
via james-server-dev by Apache Jenkins Server, 1 year ago
Could not initialize class org.apache.james.system.hbase.TablePoolTest
via freeplane by sfpc
, 10 months ago
Could not initialize class scriptlib.AClipboard
via Stack Overflow by Ruchira Mayekar
, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via scriptscoop.com by Unknown author, 2 years ago
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)	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)	at net.sf.jasperreports.engine.util.JRStyledTextParser.(JRStyledTextParser.java:87)	at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:177)	at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:78)	at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:60)	at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)	at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57)	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:421)	at org.openxava.actions.JasperReportBaseAction.execute(JasperReportBaseAction.java:105)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:379)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:296)	at org.openxava.controller.ModuleManager.execute(ModuleManager.java:256)	at org.apache.jsp.WEB_002dINF.jsp.xava.execute_jsp._jspService(execute_jsp.java:177)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)	at org.openxava.web.dwr.Module.getURIAsStream(Module.java:181)	at org.openxava.web.dwr.Module.request(Module.java:63)	at sun.reflect.GeneratedMethodAccessor626.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:616)	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Thread.java:636)