While using OpenCV i got NoClassDefFoundError so I gave - System.loadLibrary(Core.NATIVE_LIBRARY_NAME) Īfter which it started giving - Exception in thread 'main' : no opencv_java249 in So, I am trying to use OpenCV with Eclipse in Mac 10.9.5 in a Maven project for software automation testing.