
windows 下安装red5 0.9并且编译总是报错? 有遇到相关的问题吗Error creating bean with name 'red5.com
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'red...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.common' defined in class path resource [red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remotingClient' defined in class path resource [red5-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'threadPool' of bean class [org.red5.server.net.remoting.RemotingClient]: Bean property 'threadPool' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
at org.red5.server.Bootstrap.main(Bootstrap.java:50)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remotingClient' defined in class path resource [red5-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'threadPool' of bean class [org.red5.server.net.remoting.RemotingClient]: Bean property 'threadPool' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remotingClient' defined in class path resource [red5-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'threadPool' of bean class [org.red5.server.net.remoting.RemotingClient]: Bean property 'threadPool' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94) 展开
at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
at org.red5.server.Bootstrap.main(Bootstrap.java:50)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remotingClient' defined in class path resource [red5-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'threadPool' of bean class [org.red5.server.net.remoting.RemotingClient]: Bean property 'threadPool' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remotingClient' defined in class path resource [red5-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'threadPool' of bean class [org.red5.server.net.remoting.RemotingClient]: Bean property 'threadPool' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94) 展开
1个回答
展开全部
1、你可以重新卸载 在安装一次。
2、也可能是安装red5的demo程序时出的错误, 你安装red5 0.8后,把red5 0.8的demo程序也安装一遍,并且也demo程序的文件copy出来, 再copy到0.9的程序中去。
2、也可能是安装red5的demo程序时出的错误, 你安装red5 0.8后,把red5 0.8的demo程序也安装一遍,并且也demo程序的文件copy出来, 再copy到0.9的程序中去。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询