After mvn install to generate jar. Can not Loader.loadNativeLibraries() on windows.
The version of ortools is 9.0.9048. I used it on windows. I added the following two jar to the project and I added them as the link said.
Then the two jar is in here of the IDEA.
The pom file is the following:
Then I can run the program normally in IDEA. But when I mvn install to generate the jar file and run the jar by 'java -jar jarfile.jar', it errors as:
It said java.nio.file.NoSuchFileException: /BOOT-INF/lib/ortools-win32-9.0.jar!/win32-x86-64/, but when I open the jar in winrar, it exists.
Does anyone know the reason?