UnsatisfiedLinkError with OpenCV in Tomcat
问题 First of all, I have a basic example of OpenCV running in a main method. However, if I use OpenCV in a Spring Web Controller, an error is thrown. I am getting an UnsatisfiedLinkError when running the following code inside a Tomcat Server, within STS (Spring Tool Suite), and have boiled the problem down to the following code: System.loadLibrary(Core.NATIVE_LIBRARY_NAME); CascadeClassifier cascadeClassifier = new CascadeClassifier(); The run configurations of both the server and the "main"