平台配置:JDK+tomcat 什么错误来的?什么原因造成的?怎样解决?
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: sun.java2d.
HeadlessGraphicsEnvironment
at sun.awt.windows.WToolkit$4.run(WToolkit.java:698)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)