Chart Macro Fails to Render due to Problem in Class Initialisation

Still need help?

The Atlassian Community is here for you.

Ask the community


Confluence is unable to render charts from Chart Macro and displays this error message:

Error formatting macro: chart:java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart


There is a problem in utilising JFreeChart, the library used by Confluence to generate charts as an image.


If Confluence is running on Unix/Linux, make sure the environment has X11 Support.

Otherwise, make sure Confluence runs on an Oracle JDK. OpenJDK is known to cause this problem. See our Supported Platforms.

Last modified on Feb 26, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.