graphhopper/jsprit

Bug with dependency

AmayaSasaki opened this issue · 0 comments

Hello,

I am running Jsprit on Windows 10 with Eclipse IDE.

In SimpleExample.java, the line
new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
leads to the following error

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
	at SimpleExample.main(SimpleExample.java:103)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.ConfigurationException
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 1 more

However I do have Commons Configuration 2.6 and Commons Lang 2.6 in my Classpath.
Could you help me resolve this issue please? Thanks.