0 0

把red5整合到tomcat中启动tomcat出现:No bean named 'red5.core' is defined 0

详细描述:
项目A:red5+tomcat6 实现简单播放功能(成功)
项目B:SpringMVC+Spring Security网站基本功能(成功)
问题:
把项目A、项目B 进行整合的时候,也就是把项目B中的jar以及配置文件放到项目A中时,启动tomcat出现:
2013-4-27 18:42:54 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
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:/D:/tomcat-6.0.35/webapps/travel/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 'global.context' defined in class path resource [defaultContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [red5.core], from group with resource name [classpath*:red5.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)
	at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:358)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:193)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/D:/tomcat-6.0.35/webapps/travel/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 'global.context' defined in class path resource [defaultContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [red5.core], from group with resource name [classpath*:red5.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
	... 27 more
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 'global.context' defined in class path resource [defaultContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [red5.core], from group with resource name [classpath*:red5.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
	... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'global.context' defined in class path resource [defaultContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [red5.core], from group with resource name [classpath*:red5.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	... 42 more
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [red5.core], from group with resource name [classpath*:red5.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
	at org.red5.server.Context.setApplicationContext(Context.java:228)
	at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:106)
	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:85)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	... 57 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'red5.core' is defined
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
	... 63 more
2013-4-27 18:42:54 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2013-4-27 18:42:54 org.apache.catalina.core.StandardContext start
严重: Context [/travel] startup failed due to previous errors
2013-4-27 18:42:54 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-4-27 18:42:55 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2013-4-27 18:42:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2013-4-27 18:42:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2013-4-27 18:42:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 4764 ms




提示:No bean named 'red5.core' is defined ,是啊,我的确没有定义啊,这是从哪里引用到了“red5.core”呢, 我找半天找不到啊,求指点,先谢谢了。

问题补充:web.xml  内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
 
  <!-- 默认的spring配置文件是在WEB-INF下的applicationContext.xml -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
    /WEB-INF/applicationContext.xml
        /WEB-INF/spring-security.xml
        /WEB-INF/classes/*-web.xml
    </param-value>
</context-param>
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value><!-- 强制进行转码 -->
</init-param>
</filter>

<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<!--spring security -->

<filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>
        org.springframework.web.filter.DelegatingFilterProxy
    </filter-class>
</filter>
<filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

<!-- 默认所对应的配置文件是WEB-INF下的{servlet-name}-servlet.xml,这里便是:spring3-servlet.xml -->
<servlet>
<servlet-name>spring3</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>spring3</servlet-name>
<!-- 这里可以用 / 但不能用 /* ,拦截了所有请求会导致静态资源无法访问,所以要在spring3-servlet.xml中配置mvc:resources -->
<url-pattern>/</url-pattern>
</servlet-mapping>

<!-- 把red5 和tomcat整合 -->
<display-name>travel</display-name>

<context-param>
<param-name>webAppRootKey</param-name>
<param-value>/travel</param-value>
</context-param>

<context-param>
<param-name>globalScope</param-name>
<param-value>default</param-value>
</context-param>

<context-param>
<param-name>parentContextKey</param-name>
<param-value>default.context</param-value>
</context-param>
<!--
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/classes/*-web.xml</param-value>
</context-param>

<listener>
<listener-class>org.red5.server.war.WarLoaderServlet</listener-class>
</listener>

    <listener>
        <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>
-->
<servlet>
<servlet-name>gateway</servlet-name>
<servlet-class>org.red5.server.net.servlet.AMFGatewayServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet>
<servlet-name>rtmpt</servlet-name>
<servlet-class>org.red5.server.net.rtmpt.RTMPTServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>gateway</servlet-name>
<url-pattern>/gateway</url-pattern>
</servlet-mapping>

    <servlet-mapping>
        <servlet-name>rtmpt</servlet-name>
        <url-pattern>/fcs/*</url-pattern>
    </servlet-mapping>

<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/open/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/idle/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/send/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/close/*</url-pattern>
</servlet-mapping>

<security-constraint>
<web-resource-collection>
<web-resource-name>Forbidden</web-resource-name>
<url-pattern>/WEB-INF/*</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>

<security-constraint>
<web-resource-collection>
<web-resource-name>Forbidden</web-resource-name>
<url-pattern>/persistence/*</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>

<security-constraint>
<web-resource-collection>
<web-resource-name>Forbidden</web-resource-name>
<url-pattern>/streams/*</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>


<!-- 默认页面  -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

 


</web-app>

问题补充:beanRefContext.xml  


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>

<bean name="default.context" class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg>
<list>
<value>defaultContext.xml</value>
<value>red5-common.xml</value>
<value>red5-core.xml</value>
</list>
</constructor-arg>
</bean>

</beans>

问题补充:defaultContext.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>

<!-- DEFAULT GLOBAL CONTEXT -->
<bean id="global.clientRegistry" class="org.red5.server.ClientRegistry" />

<bean id="global.serviceInvoker" class="org.red5.server.service.ServiceInvoker">
<property name="serviceResolvers">
<list>
<bean id="scopeServiceResolver"
class="org.red5.server.service.ScopeServiceResolver" />
<bean id="handlerServiceResolver"
class="org.red5.server.service.HandlerServiceResolver" />
<bean id="contextServiceResolver"
class="org.red5.server.service.ContextServiceResolver" />
</list>
</property>
</bean>

<bean id="global.mappingStrategy" class="org.red5.server.MappingStrategy"/>

<bean id="global.context" class="org.red5.server.Context">
<property name="scopeResolver" ref="red5.scopeResolver" />
<property name="clientRegistry" ref="global.clientRegistry" />
<property name="serviceInvoker" ref="global.serviceInvoker" />
<property name="mappingStrategy" ref="global.mappingStrategy" />
</bean>

<bean id="global.handler" class="org.red5.server.CoreHandler"/>

<bean id="global.scope" class="org.red5.server.GlobalScope" init-method="register">
<property name="server" ref="red5.server" />
<property name="name" value="default" />
<property name="context" ref="global.context" />
<property name="handler" ref="global.handler" />
<property name="persistenceClass">
<value>org.red5.server.persistence.FilePersistence</value>
</property>
</bean>

<bean id="red5.scopeResolver" class="org.red5.server.ScopeResolver">
<property name="globalScope" ref="global.scope" />
</bean>
<!--
    <bean id="installer.service" class="org.red5.server.service.Installer">
        <property name="applicationRepositoryUrl" value="http://red5.googlecode.com/svn/snapshots/" />
    </bean>
  -->
</beans>

问题补充:red5-web.xml


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:lang="http://www.springframework.org/schema/lang"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd">

<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="location" value="/WEB-INF/red5-web.properties" />
</bean>

<bean id="web.context" class="org.red5.server.Context" autowire="byType" />

<bean id="web.scope" class="org.red5.server.WebScope"
init-method="register">
<property name="server" ref="red5.server" />
<property name="parent" ref="global.scope" />
<property name="context" ref="web.context" />
<property name="handler" ref="web.handler" />
<property name="contextPath" value="${webapp.contextPath}" />
<property name="virtualHosts" value="${webapp.virtualHosts}" />
</bean>

<bean id="web.handler" class="com.travel.spring.red5.Application" />


</beans>

问题补充:问题解决了,
还是web.xml 中的问题:
注释掉ContextLoaderListener 换成  red5+tomcat中配置的RequestContextListener  就可以了
<!--
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
-->
<listener>
        <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>
2013年4月27日 19:04

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

0 0


<bean name="default.context" class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg>
<list>
<value>defaultContext.xml</value>
<value>red5-common.xml</value>
<value>red5-core.xml</value>
</list>
</constructor-arg>
</bean>

你换下顺序试试 把defaultContext放到最后

2013年4月27日 20:23
0 0

red5.xml中呢?

2013年4月27日 19:32

相关推荐

    error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj)

    error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj)的解决方案

    Target runtime Apache Tomcat 6.0 is not defined 解决方法

    标题中的问题“Target runtime Apache Tomcat 6.0 is not defined”是Eclipse IDE中一个常见的错误提示,意味着用户在尝试运行或部署基于Apache Tomcat 6.0的应用时,Eclipse无法找到对应的运行时环境。这个错误通常...

    struts2驱动包

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested ...

    HarmonyOS应用开发-module名字冲突解决方案.docx

    在 HarmonyOS 应用开发过程中,模块(module)名字冲突是一个常见的问题,特别是在处理多模块项目或者集成不同库时。标题中的"HarmonyOS应用开发-module名字冲突解决方案.docx"文档,显然旨在提供一个解决此类问题的...

    Python中对错误NameError: name ‘xxx’ is not defined进行总结

    最近在使用python过重遇到这个问题,NameError: name 'xxx' is not defined,在学习python或者在使用python的过程中这个问题大家肯定都遇到过,在这里我就这个问题总结以下几种情况: 错误NameError: name ‘xxx’ ...

    [hadoop] ERROR: but there is no HDFS_NAMENODE_USER defined. Aborting operation. Starting datanodes

    在Hadoop分布式文件系统(HDFS)的运行过程中,可能会遇到一个常见的错误,即"ERROR: but there is no HDFS_NAMENODE_USER defined. Aborting operation. Starting datanodes"。这个错误通常意味着系统在尝试启动...

    Android代码-ButterKnifeLite

    This library is based on the ideas of removing boilerplate code like ButterKnife but with use cases targeted for view binding of xml. Resulting is a vey tiny library. @BindView annotation to refer any...

    hibernate错误解决方案

    创建 Bean 时出现错误,通常是因为配置文件或实体类的定义存在问题。例如: ``` org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ...

    小程序报错 WAService.js:3 Uncaught Error: module "src/utils/utils.js" is not defined

    编译程序时候老是报module "src/utils/utils.js" is not defined的错,狂问度娘也没结果 后来静下来想才尝试弄正确: 我本来的页面地址是:"src/main/welcome/welcome" 在这个页面的基础上要加载utils.js,所以按照...

    python3使用thrift操作hbase hbase-thirft报错解决

    ModuleNotFoundError: No module named 'ttypes' NameError:name ‘xrange’ is not defined 这几个都是python3和python2语法不兼容导致的,下载的包已经把这些错误结果了,在python下能正常使用

    asm5.0.jar

    2013-08-12 14:33:37.672:WARN::Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/cloudwave-core/src/main/...

    SDN:Software Defined Networks,Thomas.D.Nadeau

    从书名 SDN:Software Defined Networks 可以看出,作者 Thomas.D.Nadeau 聚焦于 SDN 的概念、原理以及在现代网络中的应用。通过详细阐述 SDN 的核心特点和优势,本书旨在为读者提供关于软件定义网络的深入理解,并...

    Software Testing and Continuous Quality Improvement

    5 What Is Quality?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Prevention versus Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

    thinkphp6 通过命令行快速生成多应用模块报 【Command “build” is not defined.】错误的解决办法

    在项目下执行如下命令 ...报如下图错误 解决办法: ...文档里说: 所以我命通过命令安装扩展: ...composer require topthink/think-multi-...Successed 出现这个说明大功告成,可以开始你的多应用开发之旅啦 作者:小Hier

    Guleryuz写的一个完整的小波变换的源代码

    wav_filters.h: where filter banks and their properties are defined. wav_filters_extern.h:interface to wav_filters.h. wav_gen.h: some parameters and min/max macros. macros.h: pointer check macro. test...

    PHP 仿陌陌直播

    red5 java java用的较多,性能还是不错的! crtmpserver c++ 支持多种rtmp协议,移动设备以及IPTV相关网络协议 http://www.rtmpd.com/ Erlyvideo erlong 有开源和商业版本 https//github.com/erlyvideo/erlyvideo h...

    org-apache-commons-lang.jar

    JAVA 一个包:org-apache-commons-lang.jar

    解决vue项目报错webpackJsonp is not defined问题

    在vue单页面应用中,我们大概都会使用CommonsChunkPlugin这个插件。 传送门 CommonsChunkPlugin 但是在项目经过本地测试没有任何问题,打包上线后却会报错 webpackJsonp is not defined。这是因为公共文件必须在自己...

    red5-0.9.1

    Red5_0.9.1 + MyEclipse10.7 中单步调试Demo Publisher : 编译通过Red_091 后,调试参数设置如下 。 右键项目 - Debug As -- Debug Configurations --Environment : 设置 RED5_HOME 环境变量 "Main class...

Global site tag (gtag.js) - Google Analytics