bytedeco/javacv

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil

Open

#1,859 opened on Aug 3, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Why can the same jar package have no problems in windows and x86 architecture, but it will report errors in arm architecture.

the error: Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.bytedeco.javacpp.Loader.load(Loader.java:585) at org.bytedeco.javacpp.Loader.load(Loader.java:530) at org.bytedeco.javacpp.avformat$AVFormatContext.(avformat.java:2819) at org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:468) at org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:462)

my maven: image

Contributor guide