当我尝试使用hudson和maven时,我得到以下错误,任何想法如何解决?
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.
由于
答案 0 :(得分:3)
在<compiler>
添加<{p>中的flex-config.xml
标记下
<headless-server>true</headless-server>