red5启动错误

原来的错误是引入的jar包错了,里面没有MultiThreadedApplicationAdapter这个类,从github上又下了一个red5-server-common-1.0.6-RELEASE,

但是又出了新的问题,IConnection又出错了,新引入的包好像加载时有了问题

[ERROR] [Launcher:/redhh] org.red5.server.scope.Scope - Could not start scope Scope [name=redhh, path=/default, type=APPLICATION, autoStart=true, creationTime=1474606108800, depth=1, enabled=true, running=false]
java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/catalina/loader/WebappClassLoader) previously initiated loading for a different type with name "org/red5/server/api/IConnection"
    at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_73]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:760) ~[na:1.8.0_73]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.8.0_73]
    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2495) ~[tomcat-embed-core.jar:8.0.26]
    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859) ~[tomcat-embed-core.jar:8.0.26]
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301) ~[tomcat-embed-core.jar:8.0.26]
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166) ~[tomcat-embed-core.jar:8.0.26]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_73]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_73]
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048) ~[na:1.8.0_73]
    at java.lang.Class.getMethod0(Class.java:3018) ~[na:1.8.0_73]
    at java.lang.Class.getMethod(Class.java:1784) ~[na:1.8.0_73]
    at org.red5.logging.Red5LoggerFactory.getLogger(Red5LoggerFactory.java:56) ~[red5-server-common-1.0.6-RELEASE.jar:1.0.6-RELEASE]
    at org.red5.server.adapter.MultiThreadedApplicationAdapter.start(MultiThreadedApplicationAdapter.java:336) ~[red5-server.jar:1.0.6-RELEASE]
    at org.red5.server.scope.Scope.start(Scope.java:1105) [red5-server-common-1.0.6-RELEASE.jar:na]
    at org.red5.server.scope.Scope$ConcurrentScopeSet.add(Scope.java:1332) [red5-server-common-1.0.6-RELEASE.jar:na]
    at org.red5.server.scope.Scope.addChildScope(Scope.java:205) [red5-server-common-1.0.6-RELEASE.jar:na]
    at org.red5.server.scope.Scope.init(Scope.java:873) [red5-server-common-1.0.6-RELEASE.jar:na]
    at org.red5.server.scope.WebScope.register(WebScope.java:225) [red5-server.jar:na]
    at org.red5.server.scope.WebScope.afterPropertiesSet(WebScope.java:111) [red5-server.jar:na]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:485) [tomcatplugin-1.9.jar:na]
[INFO] [Launcher:/redtt] org.red5.server.scope.WebScope - Webscope already registered



评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值