Jenkins启动报错:AWT is not properly configured on this server.

Posted 7*24 工作者

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Jenkins启动报错:AWT is not properly configured on this server.相关的知识,希望对你有一定的参考价值。

环境信息

1、java版本(17.0.4.1)

2、jenkins版本(2.361.1)

Jenkins启动报错信息

AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"? See also: https://www.jenkins.io/redirect/troubleshooting/java.awt.headless

解决方案

yum -y install dejavu-sans-fonts fontconfig xorg-x11-server-Xvfb

以上是关于Jenkins启动报错:AWT is not properly configured on this server.的主要内容,如果未能解决你的问题,请参考以下文章

mac下 jenkins配置allure commandline报错 is not a directory on the Jenkins master (but perhaps it exists o

Jenkins Mac slave 遇到 git: 'credential-osxkeychain' is not a git command. 错误

关于使用Xshell远程连接启动tomcat导致图片不显示,报错Could not initialize class sun.awt.X11GraphicsEnvironment解决方案

64位linux报错 验证码无法显示Could not initialize class java.awt.image.BufferedImage

启动SpringBoot报错LoggerFactory is not a Logback ...

Fluentd 报错:Log file is not writable, 启动服务器时