An error occurred because there is no graphics environment available
I am getting below error when I try to use hudson and maven, Any idea how to resolve?
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error occurred because there is no graphics environment available. Please set the headless-server setting in the Flex configuration file to true.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.InternalError: 开发者_开发技巧An error occurred because there is no graphics environment available.
Thanks sharp
Under <compiler>
tag in flex-config.xml
add
<headless-server>true</headless-server>
精彩评论