Anyone have any thoughts on what would be causing this error?
________________________________ From: Schawn E. Thropp <[email protected]> To: [email protected] Sent: Friday, February 15, 2013 3:42 PM Subject: [cas-user] start up error with ehcache while configuring for CRLChecker I received the following error when I started up my Tomcat instance when trying to work the following example: https://github.com/Jasig/cas/blob/master/cas-server-support-x509/src/main/resources/deployerConfigContext.xml The Spring ContextLoaderListener we wrap threw on contextInitialized. But for our having caught this error, the web application context would not have initialized. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletContext resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean 'org.jasig.cas.adaptors.x509.authentication.handler.support.X509CredentialsAuthenticationHandler#78688954' of type [org.jasig.cas.adaptors.x509.authentication.handler.support.X509CredentialsAuthenticationHandler] while setting bean property 'authenticationHandlers' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.jasig.cas.adaptors.x509.authentication.handler.support.X509CredentialsAuthenticationHandler#78688954' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean 'org.jasig.cas.adaptors.x509.authentication.handler.support.ResourceCRLRevocationChecker#604788d5' of type [org.jasig.cas.adaptors.x509.authentication.handler.support.ResourceCRLRevocationChecker] while setting bean property 'revocationChecker'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.jasig.cas.adaptors.x509.authentication.handler.support.ResourceCRLRevocationChecker#604788d5' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.core.io.Resource[]]: Could not convert constructor argument value of type [net.sf.ehcache.Cache] to required type [[Lorg.springframework.core.io.Resource;]: Failed to convert value of type 'net.sf.ehcache.Cache' to required type 'org.springframework.core.io.Resource[]'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [net.sf.ehcache.Cache] to required type [org.springframework.core.io.Resource]: PropertyEditor [org.springframework.core.io.ResourceEditor] returned inappropriate value Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.jasig.cas.adaptors.x509.authentication.handler.support.ResourceCRLRevocationChecker#604788d5' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.core.io.Resource]: Could not convert constructor argument value of type [net.sf.ehcache.Cache] to required type [org.springframework.core.io.Resource]: Failed to convert value of type 'net.sf.ehcache.Cache' to required type 'org.springframework.core.io.Resource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [net.sf.ehcache.Cache] to required type [org.springframework.core.io.Resource]: PropertyEditor [org.springframework.core.io.ResourceEditor] returned inappropriate value at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) .... Anyone have any idea what is causing this? -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
