Encoding & java.lang.NoClassDefFoundError

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Javier Casanova

Encoding & java.lang.NoClassDefFoundError

Post by Javier Casanova » Fri Jan 17, 2003 12:13 pm

Hi!!
I'm having problems on the source code of jfreechart, when I import a class or package from the com/jrefinery/chart/ directory, I get an error about encoding, so I execute the "native2ascii" program for all the files here, but the problem persists. Then if I don't include this files I get the error of:

java.lang.NoClassDefFoundError
at com.jrefinery.chart.VerticalCategoryAxis.(Unknown Source)
at com.jrefinery.chart.ChartFactory.createHorizontalBarChart(Unknown Source)
at com.jrefinery.chart.ChartFactory.createHorizontalBarChart(Unknown Source)
at de.laures.cewolf.taglib.CewolfChartFactory.getChartInstance(CewolfChartFactory.java:67)
at de.laures.cewolf.taglib.ChartDefinitionImpl.getChart(ChartDefinitionImpl.java:80)

...etc....

I have copy the jar file of jfreechart on my /WEB-INF/lib/ dyrectory of my root application and included into my project but I have the same problem.

If someone has any experience on this, please tell me what can I do?? Any help is greatly appreciated

Thanks,
Javier
javier@relacionacona.com

Locked