Tomcat图形化报错 `Could not initialize class sun.awt.X11GraphicsEnvironment`

修改Tomcat的bin/catalina.sh文件,找到CATALINA_OPTS,增加CATALINA_OPTS="-Djava.awt.headless=true"

你可能感兴趣的:(Tomcat图形化报错 `Could not initialize class sun.awt.X11GraphicsEnvironment`)