热门
到tomcat bin 路径下
sed -i ‘/-Djava.io.tmpdir=/a-Djava.awt.headless=true \’ ./catalina.sh
注意执行完这条指令后在末尾加上斜线,注意格式