开发者

java.lang.UnsatisfiedLinkError: Native Library /usr/local/xuggler/lib/libxuggle-xuggler.so.3.4.1012 already loaded in another classloader

I successfully introduced xuggle in my tomcat environment and it worked perfectly. Than something happens , and from that moment on, any time my thumbnail generator is ca开发者_C百科lled ( is the class that uses xuggle the most) i got the *java.lang.UnsatisfiedLinkError: Native Library /usr/local/xuggler/lib/libxuggle-xuggler.so.3.4.1012 already loaded in another classloader* exception. The only way I have to fix it is by restarting tomcat. Since I can't reproduce the error nor on my laptop, I really appreciate a little help.


This happens probably because you have the Xuggler Jars in a webapp lib directory, and it needs to be at the CATALINA_ROOT directory. See the Xuggler FAQ for details. Stop tomcat, move the Xuggler jar files to the ${CATALINA_HOME}/shared/lib directory and restart tomcat and all should be OK.


If you can't reproduce the same problem on other devices, try to check if your system classpath has entry for this specific jar file because in usual tomcat configuration, system classpath is added along-with lib jar files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜