The same application is developed on the Windows platform. The test phase is okay. Then it is deployed on the Linux platform and accessed using the IE browser. The verification code (the verification code is displayed as an image) is always invisible. Then, use the Firefox browser and directly throw it in the browser:
Java. Lang. noclassdeffounderror: cocould not initialize class sun. AWT. x11graphicsenvironmentAt java. Lang. Class. forname0 (native method) at java. Lang. Class. forname (Class. Java: 169) At java. AWT. graphicsenvironment. getlocalgraphicsenvironment (Graphicsenvironment. Java: 68) At java. AWT. image. bufferedimage. creategraphics (Bufferedimage. Java: 1135) At java. AWT. image. bufferedimage. getgraphics (Bufferedimage. Java: 1125)
In addition, a strange phenomenon is that when I access it under ie, the xmanager on my local machine is always started.
Search for this problem. In this case, the user who starts AAS cannot access the xserver, including the user who does not start or has no permission to access the xserver.
Added "-djava. AWT. headless = true ", restart AAS, use IE access, normal, and no longer use the xmanager of the Local Machine, access in FF, OK, and normal!