You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I use javacpp:1.5.10 and ffmpeg-platform:6.1.1-1.5.10 in my Spring Boot project. When I run the application in my local computer, it works fine. However in the docker container , the UnsatisfiedLinkError was thrown. I confirm that my jar file contains dependencies of all platform, but javacpp seems not found them and load them correctlly.
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib [in thread "pool-6-thread-6"]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:2006)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1832)
at org.bytedeco.javacpp.Loader.load(Loader.java:1423)
at org.bytedeco.javacpp.Loader.load(Loader.java:1234)
at org.bytedeco.javacpp.Loader.load(Loader.java:1210)
at org.bytedeco.ffmpeg.global.avutil.<clinit>(avutil.java:14)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.bytedeco.javacpp.Loader.load(Loader.java:1289)
at org.bytedeco.javacpp.Loader.load(Loader.java:1234)
at org.bytedeco.javacpp.Loader.load(Loader.java:1210)
at org.bytedeco.ffmpeg.avformat.AVFormatContext.<clinit>(AVFormatContext.java:36)
... 7 common frames omitted
The text was updated successfully, but these errors were encountered:
Hi, I use
javacpp:1.5.10
andffmpeg-platform:6.1.1-1.5.10
in my Spring Boot project. When I run the application in my local computer, it works fine. However in the docker container , theUnsatisfiedLinkError
was thrown. I confirm that my jar file contains dependencies of all platform, but javacpp seems not found them and load them correctlly.the
build.gradle.kts
file:packaged jar file:
the full error stack:
The text was updated successfully, but these errors were encountered: