This documentation relates to an early version of Confluence.
For documentation on the latest Confluence release, please go to the documentation home page.

View page containing Chart macro throws 'NoClassDefFoundError'

All Versions
Click for all versions
Confluence 2.5.4 to 2.5.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

troubleshooting-faq troubleshooting-faq Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.