我能够构建Red5发行版并重命名发行jar文件,即完成第6步.但是当我按照第7步进行操作时-Run inside of eclipse无法将其调试为Java应用程序-Red5 root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunkConfiguation root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/confRed5 server jar was not found, using fallback.URL list: [file:/home/yuvraj/Documents/RED5/red5%20java%20code%20all/java/server/trunk/red5.jar]Bootstrap exception: nullBootstrap exitjava.lang.NullPointerException at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:172) at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:96) at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:117) at org.red5.server.Bootstrap.main(Bootstrap.java:48)在Java调试中设置类路径时,我在/home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/ nor in /Red5_server/bin中都找不到conf目录.解决方案从您显示的输出中,我假设您缺少lib目录及其内容.该Wiki链接应有帮助: https://code.google.com/p/red5 /wiki/ServerWontStart#Bootstrap_exception I am following Red5 Media Server - Workspace Setup Guide - r4737!I am able to build Red5 distribution and rename distribution jar files i.e completed upto step 6.But when I followed step 7 - Run inside of eclipse failed to debug it as java application - Red5 root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunkConfiguation root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/confRed5 server jar was not found, using fallback.URL list: [file:/home/yuvraj/Documents/RED5/red5%20java%20code%20all/java/server/trunk/red5.jar]Bootstrap exception: nullBootstrap exitjava.lang.NullPointerException at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:172) at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:96) at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:117) at org.red5.server.Bootstrap.main(Bootstrap.java:48)I couldn't find conf directory neither in /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/ nor in /Red5_server/bin while setting classpath in java debug. 解决方案 From the output you've shown, I'd assume you're missing the lib directory and its contents. This wiki link should help: https://code.google.com/p/red5/wiki/ServerWontStart#Bootstrap_exception 这篇关于在Eclipse中将Red5服务器作为Java应用程序调试的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-12 20:30