Confluence Images Break after Resizing
症状
When an image is resized in Confluence edit mode, the image breaks:
atlassian-confluence.log
に次のメッセージが表示される。
2014-04-24 10:29:43,084 ERROR [main] [atlassian.confluence.security.DefaultCaptchaManager] afterPropertiesSet Could not initialise CAPTCHA service. The most likely reason for this is that Java's graphics subsystem is not properly configured. Try starting Confluence's JVM with the -Djava.awt.headless=true option. no awt in java.library.path
java.lang.UnsatisfiedLinkError: no awt in java.library.path
原因
The Java graphical library is corrupted, which breaks the image resize feature in Confluence.
ソリューション
- Confluence を終了します。
- Upgrade Java to the latest supported version.
Set your environment variable to the new version of Java, as documented in Installing Java for Confluence.
- After you set the new version of Java as your environmental variable, follow the Configuring System Properties guide in case you're starting Confluence as a Windows service.
- In step 5, after you click on the Java tab, tick the check box "Use default":
- Click OK.
Confluence を起動します。
Be sure to confirm that your Confluence instance is using the new Java version, at Confluence Admin > System Information
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.