Ask Your Question

Revision history [back]

UnsatisfiedLinkError when deploying opencv in tomcat

Hi All, I get the below error in my servlet deployed in tomcat java.lang.UnsatisfiedLinkError: org.opencv.highgui.Highgui.imread_1(Ljava/lang/String;)J But I find the same code working in the standalone java code. I am using system.loadlibrary to load the library and the below code doesn't through error/exception
System.loadLibrary(Core.NATIVE_LIBRARY_NAME); I know the dll is loaded correctly. Please help

UnsatisfiedLinkError when deploying opencv in tomcat

Hi All, I get the below error in my servlet deployed in tomcat java.lang.UnsatisfiedLinkError: org.opencv.highgui.Highgui.imread_1(Ljava/lang/String;)J But I find the same code working in the standalone java code. I am using system.loadlibrary to load the library and the below code doesn't through error/exception
System.loadLibrary(Core.NATIVE_LIBRARY_NAME); I know the dll is loaded correctly. Please help