Pages or Spaces Fail to Load Due to Failure Initializing sun.awt.X11GraphicsEnvironment Class

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

There are several ways this error could occur, from a theme failing to individual images not appear on a page.  Errors with stack traces including the following line will be found in the logs.

Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 

診断

Run a tail of the atlassian-confluence.log file and reproduce the situation you are facing.  If you see the above line in the resulting stack trace then you are affected by this issue

原因

Confluence is running on a headless server but the JVM is not set as running on a headless server

ソリューション

(warning) These changes require a restart of Confluence to take affect

Add the following argument to your java start options for Confluence, if you are not sure how to change these settings please have a look at our Configuring System Properties documentation

-Djava.awt.headless=true

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.