Hi, I'm sorry to bother the group for something that must be ridiculously simple, but I'm having issues using the or-tools binaries with Maven builds (the one I'm using being a multi-project with intermingled dependencies).
The binaries themselves work fine with, say, the examples from the command line.
However, once installed with Maven, issues appear.
If I include com.google.ortools.jar , whether through compile, default value or provided, I receive the following error (no matter if I include protobuf.jar in any of the 3 previously mentioned configuration):
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/protobuf/InvalidProtocolBufferException
at net.<domain>.picrossengine.Solver.<init>(Solver.java:48)
at net.<domain>.logic.java.MainJava.main(MainJava.java:54)
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.InvalidProtocolBufferException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
I'm sure it's something obvious, yet I haven't a lot of experience working with Maven.
The issue is agnostic to 2015 or 2017 binaries. As a side note, does someone know the minimum Java version needed to run the binaries?
Thank you very much for any help you can provide.