Ask Your Question

Revision history [back]

I cannot use OpenCV java with Tomcat

Dear all,

Native call in Tomcat always returns this error.

Mat mat = new Mat();

java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat(III)J at org.opencv.core.Mat.n_Mat(Native Method) at org.opencv.core.Mat.<init>(Mat.java:477)

I already set java.library.path and use "System.loadLibrary(Core.NATIVE_LIBRARY_NAME);"

Do you have any idea?

Thank you.