graphhopper / jsprit

jsprit is a java based, open source toolkit for solving rich vehicle routing problems
https://www.graphhopper.com/open-source/
Apache License 2.0
1.64k stars 605 forks source link

Bug with dependency #484

Closed AmayaSasaki closed 4 years ago

AmayaSasaki commented 4 years ago

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.