0 0

red51.0.2整合tomcat7(jdk7)出错5

org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [default.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/E:/workspace/MyFlex/WebContent/WEB-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:387) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:559) ~[spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:303) ~[spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.red5.server.war.WarLoaderServlet.contextInitialized(WarLoaderServlet.java:115) [red5-server.jar:na]
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) [catalina.jar:7.0.53]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.53]
	at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3988) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.reload(HostConfig.java:1459) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1442) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1626) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:328) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) [catalina.jar:7.0.53]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/E:/workspace/MyFlex/WebContent/WEB-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 19 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 32 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_55]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_55]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_55]
	at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_55]
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 34 common frames omitted
Caused by: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:610) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:535) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.afterPropertiesSet(MBeanExporter.java:417) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 50 common frames omitted
Caused by: javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at com.sun.jmx.mbeanserver.Introspector.throwException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.analyzer(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.getAnalyzer(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanIntrospector.getPerInterface(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanSupport.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanSupport.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.Introspector.makeDynamicMBean(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) ~[na:1.7.0_55]
	at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:195) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:655) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:600) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 54 common frames omitted
Caused by: java.lang.IllegalArgumentException: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at com.sun.jmx.mbeanserver.ConvertingMethod.from(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.initMaps(Unknown Source) ~[na:1.7.0_55]
	... 67 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: org.red5.server.api.scope.IScope
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.ConvertingMethod.<init>(Unknown Source) ~[na:1.7.0_55]
	... 71 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: java.util.Map<java.lang.String, java.lang.Object>
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeCompositeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 73 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: java.lang.Object
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeTabularMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeParameterizedTypeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 76 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Can't map java.lang.Object to an open data type
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeCompositeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 80 common frames omitted
[ERROR] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.red5.server.war.WarLoaderServlet - 
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [default.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/E:/workspace/MyFlex/WebContent/WEB-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:387) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:559) ~[spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:303) ~[spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ~[spring-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.red5.server.war.WarLoaderServlet.contextInitialized(WarLoaderServlet.java:115) ~[red5-server.jar:na]
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) [catalina.jar:7.0.53]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.53]
	at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3988) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.reload(HostConfig.java:1459) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1442) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1626) [catalina.jar:7.0.53]
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:328) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) [catalina.jar:7.0.53]
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) [catalina.jar:7.0.53]
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) [catalina.jar:7.0.53]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/E:/workspace/MyFlex/WebContent/WEB-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 19 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 32 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_55]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_55]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_55]
	at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_55]
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 34 common frames omitted
Caused by: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.CoreHandler@1715853] with key 'global.handler'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:610) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:535) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.afterPropertiesSet(MBeanExporter.java:417) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549) ~[spring-beans-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 50 common frames omitted
Caused by: javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.CoreHandlerMXBean: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at com.sun.jmx.mbeanserver.Introspector.throwException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.analyzer(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.getAnalyzer(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanIntrospector.getPerInterface(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanSupport.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanSupport.<init>(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.Introspector.makeDynamicMBean(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) ~[na:1.7.0_55]
	at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:195) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:655) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:600) ~[spring-context-4.0.3.RELEASE.jar:4.0.3.RELEASE]
	... 54 common frames omitted
Caused by: java.lang.IllegalArgumentException: Method org.red5.server.jmx.mxbeans.CoreHandlerMXBean.start has parameter or return type that cannot be translated into an open type
	at com.sun.jmx.mbeanserver.ConvertingMethod.from(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.MBeanAnalyzer.initMaps(Unknown Source) ~[na:1.7.0_55]
	... 67 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: org.red5.server.api.scope.IScope
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.ConvertingMethod.<init>(Unknown Source) ~[na:1.7.0_55]
	... 71 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: java.util.Map<java.lang.String, java.lang.Object>
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeCompositeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 73 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Cannot convert type: java.lang.Object
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.openDataException(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.mappingForType(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeTabularMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeParameterizedTypeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 76 common frames omitted
Caused by: javax.management.openmbean.OpenDataException: Can't map java.lang.Object to an open data type
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeCompositeMapping(Unknown Source) ~[na:1.7.0_55]
	at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.makeMapping(Unknown Source) ~[na:1.7.0_55]
	... 80 common frames omitted
[INFO] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.red5.server.war.WarLoaderServlet - Startup done in: 3990 ms
2014年5月08日 11:25

4个答案 按时间排序 按投票排序

0 0

遇到相同的问题,
楼主的问题解决了吗,怎么解决的...

2015年6月06日 14:15
0 0

Red5-1.0-RC1集成到tomcat详细步骤,地址:http://blog.csdn.net/g1512161790/article/details/38775735

Red5-1.0-Final集成到tomcat详细步骤,地址:
http://blog.csdn.net/g1512161790/article/details/38766591

2014年8月24日 11:28
0 0

red5的配置比较多,我这有个搭建好的,有需要,可私信

2014年5月09日 13:09
0 0

查下beanRefContext.xml中的default.context定义的参数,是不是不符合要求。

2014年5月08日 13:56

相关推荐

    红5red51.0.9

    《红5red51.0.9:深入了解与应用指南》 红5red51.0.9是一款基于Java开发的开源流媒体服务器,它在流媒体领域扮演着重要的角色,尤其在中国,因其“红5”这一易于记忆的昵称而广受欢迎。本文将深入探讨红5red51.0.9...

    red51.0.2安装包

    这个"red51.0.2安装包"是Red5的一个较新版本,但请注意,它可能不是当前的最新版本,因为据描述提到,官方主页已经无法访问。这个版本的安装过程相对简单,只需解压后双击执行安装程序。 在安装过程中,一个值得...

    CentOS7安装Jenkins-2.346.1,jdk8

    node-v16.16.0-linux-x64.tar.gz jenkins.war(Jenkins-2.346.1,jdk8) jdk-11.0.19_linux-x64_bin.tar.gz jenkins-2.359-1.1.noarch.rpm redis-6.2.12.tar.gz

    jdk-8u152-linux-x64.tar.gz 【jdk1.8,jdk8,linux 64位版】

    **Java Development Kit (JDK) 1.8 for Linux 64-bit** JDK(Java Development Kit)是Oracle公司提供的用于开发和运行Java应用程序的重要工具集。在本案例中,我们讨论的是JDK 1.8的64位版本,适用于Linux操作系统...

    Tomcat指定jdk路径

    ### Tomcat指定JDK路径详解 #### 一、前言 Apache Tomcat 是一款开源的Servlet容器,能够作为Web服务器独立运行,也可以与Apache等其他Web服务器配合使用。Tomcat支持最新的Servlet和JSP规范,因为简单易用,是...

    bcprov-jdk16-143.jar和bcprov-jdk15-135.jar

    在jdk中的jre\lib\security修改java.security文件, security.provider.6=com.sun.security.sasl.Provider 下面添加 security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvider 在\jre\lib\ext中...

    Linux下配置tomcat和jdk

    ### Linux下配置Tomcat与JDK #### 一、引言 随着互联网技术的发展,越来越多的应用选择基于Java语言开发,而Tomcat作为一款轻量级的Servlet容器,因其易用性和稳定性,在Java Web应用部署中占据着重要的地位。在...

    bcprov-ext-jdk15on-1.54.jar和bcprov-jdk15on-1.54.jar压缩文件

    《深入解析bcprov-jdk15on与bcprov-ext-jdk15on:Java加密库的秘密武器》 在Java开发中,加密技术是至关重要的,它保障了数据的安全传输和存储。bcprov-jdk15on和bcprov-ext-jdk15on是Bouncy Castle项目提供的两个...

    Apache Tomcat 8.5的安装配置 、JDK 1.8的安装

    在本文中,我们将详细介绍如何在Linux系统上安装和配置Apache Tomcat 8.5以及JDK 1.8。 首先,让我们来安装JDK 1.8。Oracle官方网站提供了JDK的下载链接,对于Java SE Development Kit 8u331,你可以从以下网址获取...

    tomcat8.5.20+jdk1.7或jdk1.8或jdk1.6

    使用JDK 1.7时,Tomcat 8.5.20可以享受到Java 7的性能优化和新特性,如Try-with-resources语句,这在处理资源关闭上提供了更好的异常处理机制。而JDK 1.8除了提供更多的语言层面的新特性,还在JVM层面上进行了优化,...

    linux环境下tomcat和jdk的配置

    在Linux环境下配置Tomcat和JDK是部署Java应用的基础步骤,这一过程涉及到JDK的安装、环境变量的设定以及Tomcat服务器的配置。下面将详细阐述这些知识点。 ### JDK安装与环境配置 #### 安装JDK 在Linux环境下安装...

    tomcat6.0.48+jdk1.7或jdk1.8或jdk1.6

    标题中的"tomcat6.0.48+jdk1.7或jdk1.8或jdk1.6"指的是一个配置环境,其中Tomcat是Apache软件基金会的一个开源Java Servlet容器,版本为6.0.48,它主要用于部署和运行Java Web应用程序。而JDK(Java Development Kit...

    JDK7+Tomcat7 Linux64安装包

    标题 "JDK7+Tomcat7 Linux64安装包" 提供了我们即将讨论的核心内容:在64位Linux系统上安装JDK7和Tomcat7。这两个组件都是Java应用程序开发和部署的基础。JDK(Java Development Kit)是用于编写、测试和运行Java...

    red5-server-1.0.5-RELEASE-server.tar

    7. **安全性**:由于Red5 Server支持RTMPS(RTMP over SSL/TLS),它可以提供安全的加密连接,保护传输的数据不被窃听。同时,还可以通过防火墙策略和访问控制列表来加强服务器的安全性。 8. **扩展性**:Red5 ...

    jdk-8u151-linux-x64.tar.gz 【官方jdk1.8、jdk8,linux版】

    Java Development Kit(JDK)是Oracle公司提供的用于开发和运行Java应用程序的软件工具包。这里的"jdk-8u151-linux-x64.tar.gz"是JDK 1.8更新151版本的Linux 64位版本的压缩文件。这个版本是在Java 8的主要发布系列...

    apache-tomcat-7.0.85.tar.gz和jdk-8u161-linux-x64.tar.gz

    Apache Tomcat 与 JDK 是构建和运行 Java Web 应用程序不可或缺的两个组件。Apache Tomcat 是一个开源的Servlet容器,实现了Java Servlet和JavaServer Pages(JSP)规范,允许开发者在服务器端创建动态Web应用。而...

    Tomcat与JDK版本对应关系.docx

    - **Tomcat 7.x**:推荐使用JDK 6或以上版本,但考虑到安全性与性能,建议使用JDK 7或以上。 - **Tomcat 6.x**:推荐使用JDK 5或以上版本,但对于最佳体验,建议至少使用JDK 6。 #### 三、Tomcat各版本特性 ##### ...

    tomcat7内置jdk版

    【标题】:“Tomcat7内置JDK版” 【知识点详解】: Tomcat7是一个流行的开源Web服务器和Servlet容器,由Apache软件基金会的Tomcat项目维护。这个“内置JDK版”意味着它集成了Java Development Kit (JDK),使得用户...

Global site tag (gtag.js) - Google Analytics