Could not initialize class sun.awt.X11GraphicsEnvironment
错误信息:
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
修改${TOMCAT_HOME}/bin/catalina.sh或${TOMCAT_HOME}/bin/catalina.bat文件:
# USE_NOHUP (Optional) If set to the string true the start command will
# use nohup so that the Tomcat process will ignore any hangup
# signals. Default is "false" unless running on HP-UX in which
# case the default is "true"
# ----------------------
Could not initialize class sun.awt.X11GraphicsEnvironment最先出现在Python成神之路。
共有 0 条评论