我已經安裝了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