When we found java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment issue we have to specify.
-Djava.awt.headless=true in the setDomainEnv.sh and restart the servers.
-Djava.awt.headless=true in the setDomainEnv.sh and restart the servers.