导出报错Can't connect to X11 window server using 'localhost:10.0' as the value of th

在catalina.sh里面添加

   -Djava.awt.headless=true \

《导出报错Can't connect to X11 window server using 'localhost:10.0' as the value of th》

点赞