首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

CAS:How to fix "No bean named 'healthCheckMonitor' is defined"

2013-09-11 
CAS:How to fix No bean named healthCheckMonitor is defined在部署JASIG CAS时可能会碰到如下的异常

CAS:How to fix "No bean named 'healthCheckMonitor' is defined"
在部署JASIG CAS时可能会碰到如下的异常:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMappingC' defined in ServletContext resource [/WEB-INF/cas-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'healthCheckController' defined in ServletContext resource [/WEB-INF/cas-servlet.xml]: Cannot resolve reference to bean 'healthCheckMonitor' while setting bean property 'healthCheckMonitor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'healthCheckMonitor' is defined


解决办法是在deployConfigContext.xml中添加:

<bean id="healthCheckMonitor" />
      
        <bean />
      </list>
    </property>
  </bean>


我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html

热点排行