When I try to plot an Histogram or a 3d Pie Chart I get the following Exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger at org.jfree.chart.plot.PiePlot.<clinit>(PiePlot.java:309)
at org.jfree.chart.ChartFactory.createPieChart3D(ChartFactory.java:287)
at Pie3DChart.crearGrafica(Pie3DChart.java:93)
at Pie3DChart.main(Pie3DChart.java:138)
I also tried to compile the source code but I get the following Exception:
JFreeChart.java:129: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
JFreeChart.java:235: cannot resolve symbol
symbol : class Logger
location: class org.jfree.chart.JFreeChart
static Logger logger = Logger.getLogger(JFreeChart.class);
^
StandardLegend.java:187: cannot resolve symbol
symbol : class Logger
location: class org.jfree.chart.StandardLegend
static Logger logger = Logger.getLogger(StandardLegend.class);
^
JFreeChart.java:235: cannot resolve symbol
symbol : variable Logger
location: class org.jfree.chart.JFreeChart
static Logger logger = Logger.getLogger(JFreeChart.class);
^
StandardLegend.java:187: cannot resolve symbol
symbol : variable Logger
location: class org.jfree.chart.StandardLegend
static Logger logger = Logger.getLogger(StandardLegend.class);
^
The application I've Done, is running in Sun ONE Application Server instead of Apache. What are the Libraries Do I have to include in the Classpath
Thank you

[/i]