开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜