OpenCV on web app, NoClassDefFoundError
Hi,
Currently i'm developing web app and i decided to use openCV library to use neural network. When i run my test controller which look like this:
@RequestMapping(value = "/test/neural/network", method = RequestMethod.GET)
public void test() {
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
Mat output = new Mat(1, 20, CvType.CV_32SC1);
System.out.println(output);
}
I had following error: Caused by: java.lang.NoClassDefFoundError: org/opencv/core/CvType
I'm using eclipse and configure environment step by step following the opencv tutorial. Moreover when i used the same code in console application, everything works fine. Probably i missing something, but i don't know what?
hello, did you get the way around to work with open cv in web app, i am also facing the issue.