`

linux下awt错误 Can't connect to X11 window server using ':0.0'

阅读更多
在Linux下对awt进行处理,出现如下错误
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

设置参数catalina.sh: -Djava.awt.headless=true
or System.setProperty ("java.awt.headless", "true");
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics