Red5 - 当我尝试连接到服务器时出现错误

Red5 - Getting an error when I try to connect to server

当我尝试在我的 flash 插件和我的 red5 服务器安装之间建立连接时,出现以下错误。请帮我。

[ERROR] [RTMPConnectionExecutor#DTQATXJIXLU78-1] org.red5.server.net.rtmp.BaseRTMPHandler - Exception java.lang.NoSuchMethodError: org.red5.server.scope.Scope$ConcurrentScopeSet.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; at org.red5.server.scope.Scope$ConcurrentScopeSet.hasName(Scope.java:1411) ~[red5-server-common-1.0.5-RELEASE.jar:na] at org.red5.server.scope.Scope.hasChildScope(Scope.java:819) ~[red5-server-common-1.0.5-RELEASE.jar:na] at org.red5.server.scope.ScopeResolver.resolveScope(ScopeResolver.java:99) ~[red5-server.jar:na] at org.red5.server.Context.resolveScope(Context.java:154) ~[red5-server.jar:na] at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:323) ~[red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE] at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:105) ~[red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE] at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:57) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE] at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:11) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_75] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_75] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]

您 运行 的版本是用 jdk8 编译的,而您 运行 它是在 jdk/jre 7 上编译的。这是兼容模式的问题jdk 并且只能通过将 java 版本更新为 8 或获取一组使用 jdk 7.

编译的新 jar 来解决