Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

The java system library do not load opencv library

$
0
0
I'm using the opencv library in a java project. I have a simple java project that compiles as a 'jar', and manually adding the opencv library, then, I know that I have to put this code after nothing:> System.loadLibrary(Core.NATIVE_LIBRARY_NAME); This works well, but now, I need the same application running in a server, so I made a maven simple project that compiles in a 'war' and added opencv in a dependency, but in the line above I get this error. Caused by: java.lang.UnsatisfiedLinkError: no opencv_java249 in java.library.path Here is my pom.xml 4.0.0org.springframework.samplesRetinoblastomappSpring0.0.1-SNAPSHOTwarTesis de diagnostico temprano retinoblastoma1.8UTF-8UTF-83.2.3.RELEASE4.2.1.Final1.0.131.7.54.112.4.9-4org.springframeworkspring-context${spring-framework.version}org.springframeworkspring-tx${spring-framework.version}org.slf4jslf4j-api${slf4j.version}compilech.qos.logbacklogback-classic${logback.version}runtimeorg.hibernatehibernate-entitymanager${hibernate.version}org.springframeworkspring-test${spring-framework.version}testjunitjunit${junit.version}testnu.patternopencv${opencv.version}org.codehaus.mojoexec-maven-plugin1.4.0org.apache.maven.pluginsmaven-compiler-plugin3.31.81.8

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>