Linux tomcat 添加参数-Djava.awt.headless=true

2020-07-01  

catalina.sh 

# OS specific support.  $var _must_ be set to either true or false.

这行的下面新增 

JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"

ConstXiong 备案号:苏ICP备16009629号-3