例外:“ERROR com.xuggle.ferry.JNILibraryLoader - 无法加载库”发生

时间:2014-02-10 08:23:51

标签: java eclipse jar video-processing

我从Stackoverflow上读到了library-xuggle-xuggler,并将以下的jar添加为

  1. SLF4J-API-1.6.4.jar,
  2. 公地-CLI-1.1.jar,
  3. 的logback核-1.0.0.jar,
  4. 的logback-经典1.0.0.jar,
  5. xuggle-utils的-1.20.688.jar,
  6. xuggle-xuggler-5.2.jar
  7. 按照帖子中提到的java类路径(顺序和导出选项卡)顺序执行。但不幸的是,我现在仍然有例外:

    14:14:00.941 [main] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle; version: 5; Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no xuggle in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:268)
        at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:171)
        at com.xuggle.ferry.JNILibrary.load(JNILibrary.java:161)
        at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:16)
        at com.xuggle.ferry.JNIMemoryManager.<clinit>(JNIMemoryManager.java:871)
        at com.xuggle.mediatool.MediaWriter.<clinit>(MediaWriter.java:119)
        at com.xuggle.mediatool.ToolFactory.makeWriter(ToolFactory.java:149)
        at com.java.concate.CallConcatenate.main(CallConcatenate.java:24)
    

    请帮我解决这个问题。是否有使用这个罐子的依赖。

1 个答案:

答案 0 :(得分:2)

解决问题的最佳方法是根据How do I have to install/configure Xuggle to not get an UnsatisfiedLinkError?使用Xuggler 5.4与maven一起使用