在catalina.sh中的-Djava.io.tmpdir="$CATALINA_TMPDIR" \后一行增加 -Djava.awt.headless=true \ 共8处