hello,
(here a second post of the topic, already posted it in the sticky new version 0.9.16 but this one is read more)
I have updated from JFreeChart 0.9.10 to 0.9.16 and so
I upgraded JCommon from 0.8.5 to 0.9.1
problem is that, with creation of a new Gantt chart I get an error (with running the application, not with compiling it)
error with Stacktrace:
java.lang.NoSuchMethodError: org.jfree.ui.about.Licences.getInstance()Lorg/jfree/ui/about/Licences;
at org.jfree.chart.JFreeChartInfo.<init>(Unknown Source)
at org.jfree.chart.JFreeChart.<clinit>(Unknown Source)
at org.jfree.chart.ChartFactory.createGanttChart(Unknown Source)
at application.MainFrame.<init>(MainFrame.java:441)
at application.ABS.<init>(ABS.java:54)
at application.ABS.main(ABS.java:171)
Do you know what causes this?
thanks for your help in advance, and thanks for helping me with my previous upgrading problem,
Jeroen
error with licences class (runtime) after upgr 0.9.10 0.9.16
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
My two guesses are that you haven't added jcommon-0.9.1.jar to your classpath OR you have two versions of jcommon on your classpath.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


your two questions gave me an idea. This was my classpath as it was with errors:
C:\Projecten\ABS\jfreereport-0.8.4_1\jfreereport-0.8.4_1-all.jar;
C:\Projecten\ABS\jfreechart-0.9.16\jfreechart-0.9.16.jar;
C:\Projecten\ABS\jfreechart-0.9.16\lib\jcommon-0.9.1.jar;
I just removed JFreeReport from the classpath, as it could cause the error ... it worked! (No problem, It wasn't used really at the moment)
many thanks,
Jeroen
C:\Projecten\ABS\jfreereport-0.8.4_1\jfreereport-0.8.4_1-all.jar;
C:\Projecten\ABS\jfreechart-0.9.16\jfreechart-0.9.16.jar;
C:\Projecten\ABS\jfreechart-0.9.16\lib\jcommon-0.9.1.jar;
I just removed JFreeReport from the classpath, as it could cause the error ... it worked! (No problem, It wasn't used really at the moment)
many thanks,
Jeroen