Exception: “ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library” occur

纵然是瞬间 提交于 2019-12-10 10:25:18

问题


I read about library-xuggle-xuggler from Stackoverflow and I have added the below jars as

  1. slf4j-api-1.6.4.jar,
  2. commons-cli-1.1.jar,
  3. logback-core-1.0.0.jar,
  4. logback-classic-1.0.0.jar,
  5. xuggle-utils-1.20.688.jar,
  6. xuggle‑xuggler-5.2.jar

sequentially in java class path(order and export tab) as mentioned in the post. But unfortunately i am still getting exception bellow yet:

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)

Please help me to solve this problem. Is there any dependency for using this jars.


回答1:


the best way to fix it is using Xuggler 5.4 with maven according to How do I have to install/configure Xuggle to not get an UnsatisfiedLinkError?



来源:https://stackoverflow.com/questions/21672099/exception-error-com-xuggle-ferry-jnilibraryloader-could-not-load-library-oc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!