servlet-Red5-1.0集成到eclipse中启动报错

问题描述

Red5-1.0集成到eclipse中启动报错

2015-7-4 19:09:27 org.apache.catalina.core.ApplicationContext log
严重: StandardWrapper.Throwable
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:/JavaProject/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Red5-1.0/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 'statusObjectService' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find an init method named 'initialize' on bean with name 'statusObjectService'
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386)
at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:536)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:376)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

解决方案

我把red5安装到linux可以启动成功,但是集成到eclipse后,启动就报错,提示statusObjectService类中没有initialize()方法,
statusObjectService确实没有这个方法,但是为啥在linux上就能启动成功

解决方案二:

我用的是red5的源码,搭建eclipse开发环境 tomcat用的是6.0

时间: 2024-08-03 23:52:52

servlet-Red5-1.0集成到eclipse中启动报错的相关文章

svn-通过SVN更新别人的代码到我的eclipse中为什么报错,求大神解答

问题描述 通过SVN更新别人的代码到我的eclipse中为什么报错,求大神解答 解决方案 这个不影响项目运行的, 解决方案二: 这是纠错器的原因,并不影响运行.有时候莫名其妙就好了. 解决方案三: 你看看是什么错误, 有些是因为对你的xml 文件进行合法性验证. 解决方案四: 谢谢.csdn真强大,第一次用就有答案 解决方案五: 这是纠错器的原因,并不影响运行.有时候莫名其妙就好了. 解决方案六: myeclipse对xml以及js验证问题,,可以忽略 解决方案七: 不影响运行的话不用过于在意.

jvm-app在JVD中启动报错(新人求助)

问题描述 app在JVD中启动报错(新人求助) 整个的检查程序并没有错,但是在虚拟机里运行的时候就直接跳出了,个人感觉是由于使用了2.2版的呼叫权限,但是虚拟机版本是4.0.各路大神帮帮忙... 解决方案 你要在mainfest文件中添加呼叫权限 解决方案二: <uses-permission android:name="android.permission.CALL_PHONE"/> 解决方案三: 我按照意图过滤器来进行了定义,与电话自带的拨号Activity匹配,这样不

eclipse-bubbo消费端在工具中启动报错打包后tomcat下正常

问题描述 bubbo消费端在工具中启动报错打包后tomcat下正常 2016-04-04 15:12:03,845 ERROR [ContextLoader.java:336] : Context initialization failed java.lang.NoClassDefFoundError: Lvaolon/facade/user/service/UserFacade; at java.lang.Class.getDeclaredFields0(Native Method) at j

Eclipse中Jquery报错

在网上看到很多 jQuery-xxx.js 在eclipse中报错的解决方案大多是说 项目右键 Properties->Validation->JSP Content Validator 这项的右边点击 ... 按钮,然后点 Add Exclude Group->在 Exclude Group 点 Add Rule->Folder or file name 然后选到 jquery-xxxx.js 文件. 我试过了,还是报错报红. 后来发现还有一个方法更有效,原文如下   I hav

android studio中的xml文件报错,eclipse正常不报错

问题描述 android studio中的xml文件报错,eclipse正常不报错 android:background="@drawable/one_home_page_text" 这张图片确实有,错误提示 Error:(138, 41) No resource found that matches the given name (at 'background' with value '@drawable/one_home_page_text'). eclipse中不报错,倒进stu

eclipse启动报错,不重新搭建环境怎么解决?

问题描述 eclipse启动报错,不重新搭建环境怎么解决? 解决方案 paip.eclipse忽然启动报错的解决 解决方案二: 是不是没有配置环境变量 解决方案三: ...........配置环境变量吧 解决方案四: 你这个adt是32位版本的,那么它也必须使用32位版本的jdk,你去检查一下系统里jdk的版本,看看两个是不是不一样.另外,看看是不是安装了jdk更新,如果有,请卸载,再试试 解决方案五: 配置环境变量,再检查一下下 解决方案六: 首先看下坏境变量,之后看下是不是32位和64位的问

spring mvc 在eclipse中启动tomcat提示错误,什么原因

问题描述 spring mvc 在eclipse中启动tomcat提示错误,什么原因 严重: StandardWrapper.Throwablejava.lang.NoClassDefFoundError: javax/servlet/AsyncListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at

eclipse中启动tomcat的项目路径

在eclipse中启动的tomcat,启动后的项目路径: D:\workspace        这里是你的工作目录         \.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps 这里是你的tomcate的项目目录 D:\workspace        这里是你的工作目录         \.metadata\.plugins\ 在这里面,可以修改一系列东西,包括你的项目启动时间,默认45S,这些问题等--

eclipse中tomcat使用tomcat插件启动报错

问题描述 eclipse中tomcat使用tomcat插件启动报错 SEVERE: The web application with context path [/manager] was not deployed because it contained a deployment descriptor [D:Tomcat 7.0webappsmanagerMETA-INFcontext.xml] which may include configuration necessary for the