I just moved from 0.9.3 to 0.9.4 (in a servlet environment, on Linux, using JDK 1.4). Suddenly all my charts throw NoClassDefFound errors, with the class that they are unable to find being JFreeChart.
(One of the offending lines of code is...
new JFreeChart(this.caption(), this.titleFont(), this.plot(data), false);
Swapping the 0.9.3 jar back into the class path "fixes" the problem -- but I can't imagine why this is happening -- it's not a headless problem, as the 0.9.3 jar works fine. JFreeChart sure seems like it's in the 0.9.4 jar, and the program _compiles_ against the jar, but can't find it at run time...
Any thoughs?
Thanks,
Noel Rappin
Odd 0.9.4 Error
Re: Odd 0.9.4 Error
Make sure you have also upgraded to the jcommon-0.7.1.jar file, this is required for JFreeChart 0.9.4. If that is not the problem, could you post the full exception message?
Regards,
DG
Regards,
DG
Re: Odd 0.9.4 Error
That does seem to have fixed it -- I didn't know that there was a JCommon 7.1 -- I don't think I saw it on the home page.
Thanks for the help,
Noel
Thanks for the help,
Noel