https://blog.csdn.net/yfx000/article/details/86591945 JAVA_OPTS=-Djava.awt.headless=true 转载于:https://www.cnblogs.com/diyunpeng/p/10944308.html