This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant previous version.

View page containing Chart macro throws 'NoClassDefFoundError'

Confluence 2.8 Documentation

Index

I am getting an error message about NoClassDefFoundError when using the Chart macro

The following error may appear when viewing certain pages where the Chart Macro is used:

Caused by: java.lang.NoClassDefFoundError
at org.jfree.chart.ChartFactory.createAreaChart(ChartFactory.java:874)
at com.atlassian.confluence.extra.chart.ChartMacro.getChart(ChartMacro.java:217)
at com.atlassian.confluence.extra.chart.ChartMacro.execute(ChartMacro.java:102)

This is indicative of an out-of-date version of the Chart macro. Make sure you have the latest version and have removed any old versions or dependencies. If you are using Confluence 1.4, it may be a symptom of not having the jfreechart and jcommon JARs in your installation, which are required.

RELATED TOPICS

Working with Macros

Labels