[Yanel-dev] xuggler and yanel
Guillaume Déflache
guillaume.deflache at wyona.com
Thu May 14 15:35:18 CEST 2009
simon litwan schrieb:
> simon litwan schrieb:
>> hi all
>>
>> i try to use xuggler within yanel. but no luck so far.
>>
>> i get an exception:
>> Caused by: java.lang.NoSuchMethodError:
>> org.slf4j.Logger.trace(Ljava/lang/String;)V
>> at com.xuggle.ferry.JNILibraryLoader.<init>(JNILibraryLoader.java:224)
>> at
>> com.xuggle.ferry.JNILibraryLoader.<clinit>(JNILibraryLoader.java:180)
>> at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
>> at com.xuggle.xuggler.IContainer.make(IContainer.java:352)
>>
>> it seems that trace is not supported by log4j < 1.2.12. but if i
Precisely.
>> change the yanel dependency and pom file to use this 1.2.12 i still
>> find log4j 1.2.8 within the lib dir. not sure where it comes from.
>>
>> has somebody an idea?
Interesting, I intented to do the same lately, see
http://lists.wyona.org/pipermail/yanel-development/2009-May/003593.html
but I have the inverse problem: I get both, with 1.2.12 probably coming
from my project, so it's definitely possible! :) Maybe try adding the
1.2.12 dependency to one of your resource-type: the 1st declared in the
loading order of Maven dependencies might be the winner, not sure anymore...
> after i put log4j-1.2.15.jar, slf4j-api-1.5.6.jar,
> slf4j-log4j12-1.5.6.jar into the endorsed libs this problem is gone.
That's one way of doing it! ;)
> but now i get a UnsatisfiedLinkError:
> com.xuggle.xuggler.XugglerJNI.IContainer_make()J
>
> will keep you informed.
Good luck!
More information about the Yanel-development
mailing list