Monday, June 27, 2011

Red5 error exception BasicMDCAdapter

After installing Red5 1.0 RC1 when i tried to run the server i got the following error:

Exception java.lang.ClassCastException: org.slf4j.helpers.BasicMDCAdapter cannot be cast to ch.qos.logback.classic.util.LogbackMDCAdapter

This error is produced because there are 2 additional jars that shouldnt be there.
The solution is to delete the following files from red5/lib directory
com.springsource.slf4j.juli-1.6.1.jar
com.springsource.slf4j.log4j-1.6.1.jar
More information ca br found: http://code.google.com/p/red5/issues/detail?id=43

No comments: