red5 rc1 安装版本报错

 

今天把red5 rc1版本安装在服务器上,发现有错误,需要删除两个jar文件。

异常java.lang.ClassCastException:org.slf4j.helpers.BasicMDCAdapter不能转换为ch.qos.logback.classic.util.LogbackMDCAdapter

 
java.lang.ClassCastException: org.slf4j.helpers.BasicMDCAdapter cannot be cast to ch.qos.logback.classic.util.LogbackMDCAdapter
 
    at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:133)
    at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:469)
    at ch.qos.logback.classic.Logger.filterAndLog_1(Logger.java:443)
    at ch.qos.logback.classic.Logger.info(Logger.java:633)
    at org.red5.server.Launcher.launch(Launcher.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
    at org.red5.server.Bootstrap.main(Bootstrap.java:50)
 
 
删除这两个文件才能正常运行...
 
com.springsource.slf4j.juli - 1.6.1.jar 
com.springsource.slf4j.log4j-1.6.1.jar 

你可能感兴趣的:(安装)