There is an application that writes video from rtsp stream. The project is collected using gradle. On the local machine (kubuntu stands there) everything works well and correctly. As I send my .war to the server (CentOS stands there), I get this error
java.lang.ClassNotFoundException: org.bytedeco.javacpp.avutil $ AVFrame.
And on the local and remote machine is Tomcat. I tried to build a project on a different machine with kubuntu and there, too, everything works without errors. What is the trouble?
UDP: java.lang.NoClassDefFoundError Error
So add all dependencies to gradle .
And a tree with libraries
I checked which libraries go to war. really org.bytedeco.javacpp.avutil class is not there.
What am I doing wrong? On two kubuntu machines it works.
UPDATE
As I understood for CentOS, you need to build the library yourself. I do everything according to the instructions
But in step 9, I get an error
Local maven cache
mvn install --projects opencv
UPDATE 2
I contacted the library developer. He says that this is an old library creation instruction and proposed a new one. Instructions But I get an error on the step
$ wget https://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
$ rpm --import https://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern






opencv2/core/types_c.h: File does not exist. - LEQADArpm -k --import https://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern- LEQADA