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

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