This page last changed on Jun 21, 2007 by rosie@atlassian.com.

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

Document generated by Confluence on Dec 20, 2007 19:02