I'm using JFreeChart_1.0.17 with JCommon_1.0.21.
When I run my java project on one machine, it works fine, but when I try it on another one it fails with an exception:
Code: Select all
Exception in thread "main" java.lang.NoSuchMethodError: org.jfree.chart.ChartFactory.createXYStepChart(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/jfree/data/xy/XYDataset;)Lorg/jfree/chart/JFreeChart;
Both machines run under Ubuntu 12.04 for OS.
Java: OpenJDK, version "1.7.0_65", from ubuntu repositories.
No, there're no duplicate references on the classpath and no forgotten older versions of JFreeChart or JCommon.
Can you please help me, what can I be probably missing or what may be wrong, so that I get the error on one machine and don't get it on the other?
Any your ideas will be appreciated.