Pages or Spaces Fail to Load Due to Failure Initializing sun.awt.X11GraphicsEnvironment Class
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
症状
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
ソリューション
ソリューション
⚠️ 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この内容はお役に立ちましたか?