我已经安装了subclipse,Ant,IvyDE,Red5 Plugin for eclipse,我向环境变量添加了JAVA_HOME和JAVA_VERSION,我还在窗口路径中添加了Java和Ant。Red5无法启动分配
我正在尝试使用eclipse创建Red5分布,打开Build.xml,右键单击大纲窗口中的dist [default]并运行并选择Ant Builder。
Eclipse表示构建成功。我首先停止Red5服务,然后尝试运行我在eclipse中创建的构建失败,下面是在命令提示符下显示的错误。
我希望别人可能会遇到过类似的问题。
Starting Red5
Red5 root: C:/Users/Admin/workspace/temp/red5_server/dist
Configuation root: C:/Users/Admin/workspace/temp/red5_server/dist/conf
Setting temp directory to C:\Users\Admin\AppData\localLow
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import org.slf4j.bridge cannot be resolved
The import org.springframework.context.support.FileSystemXmlApplicationC
ontext cannot be resolved
SLF4JBridgeHandler cannot be resolved
FileSystemXmlApplicationContext cannot be resolved to a type
FileSystemXmlApplicationContext cannot be resolved to a type
at org.red5.server.Launcher.<init>(Launcher.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:132)
at org.red5.server.Bootstrap.main(Bootstrap.java:50)
Press any key to continue . . .
任何想法可能会导致它错误?
最新的Red5发行版使用Maven而不是蚂蚁 – Ironfish 2013-02-01 13:39:51