java.awt.AWTError:cant connet to X11 window server using.... 解决方式:java 启动是加入:-Djava.awt.headless=true