OpenCV unable to load lib in Tomcat servlet

asked 2015-01-15 09:04:44 -0600

Kinn gravatar image

java.lang.UnsatisfiedLinkError: no opencv_java245 in java.library.path

I am sure that I've setup correctly my project in eclipse using System.loadLibrary(Core.NATIVE_LIBRARY_NAME); and import jar file in the build path. Now I create a dinamic project but the servlet crash because opencv is unable to load lib.

my directories are: tomcat/myservlet/WEB-INF/classes/servlet.class

WHERE I SHOULD ADD OPENCV LAB? I tried to add it in tomcat/myservlet/WEB-INF/lib

and set System.load("tomcat/myservlet/WEB-INF/lib/opencv-2410.jar "); but no works :(

HELP ME PLEASE!! IT'S VERY IMPORTANT! Thanks'

edit retag flag offensive close merge delete

Comments

" no opencv_java245 in java.library.path" <--> "tomcat/myservlet/WEB-INF/lib/opencv-2410.jar "

can't you see it ?

berak gravatar imageberak ( 2015-01-15 10:02:15 -0600 )edit