apache-flex - 由于没有可用的图形环境而发生错误

标签 apache-flex xlib

当我尝试使用 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.

谢谢 锐利

最佳答案

<compiler>标签 flex-config.xml添加

<headless-server>true</headless-server>

关于apache-flex - 由于没有可用的图形环境而发生错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5919138/

相关文章:

使用 flex-plugin 部署时的 Java 堆空间

apache-flex - 使用鼠标滚轮的 Flex 列表滚动速度

从 Xlib 转换为 xcb

python - 如何在 Python 上使用 Xlib 模拟鼠标点击

linux - Linux下用hudson编译资源包报错: null,

php - amfphp 和 Flex4.5 非常简单的登录系统

c - X11:如何正确支持每像素 16 位显示

image - 煤层气图像文件格式: what is it?怎么读呢?

c - 如何在 Ubuntu 上打开一个非修饰的全屏窗口

java - Flex 4.6 IOS 编译器