graphhopper/jsprit

Plot bug

AmayaSasaki opened this issue · 0 comments

Hello,

I am running Jsprit on Windows 10 with Eclipse IDE.

In SimpleExample.java, the line
new Plotter(problem,bestSolution).plot("output/plot.png","simple example");
leads to the following exception

Exception in thread "main" java.lang.NoSuchMethodError: com.graphhopper.jsprit.analysis.toolbox.Plotter$MyActivityRenderer.setBaseItemLabelGenerator(Lorg/jfree/chart/labels/XYItemLabelGenerator;)V
	at com.graphhopper.jsprit.analysis.toolbox.Plotter.getProblemRenderer(Plotter.java:383)
	at com.graphhopper.jsprit.analysis.toolbox.Plotter.createPlot(Plotter.java:414)
	at com.graphhopper.jsprit.analysis.toolbox.Plotter.plot(Plotter.java:302)
	at com.graphhopper.jsprit.analysis.toolbox.Plotter.plot(Plotter.java:280)
	at SimpleExample.main(SimpleExample.java:110)

Thanks for the help!