I am new to CAS and I am working through the Best Practice - Setting Up CAS
Locally using the Maven2 WAR Overlay Method example found here
I got the first part working where I can enter the same username/password to
login. I have moved onto the Replace the Default Authentication Method with
Something Else section. I followed the instruction and when I go to start
Tomcat I get the following error:
Aug 8, 2012 2:09:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j from [classpath:log4j.xml]
Aug 8, 2012 2:09:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Aug 8, 2012 2:09:54 PM org.apache.catalina.core.ApplicationContext log
SEVERE: SafeContextLoaderListener:
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.generic.AcceptUsersAuthenticationHandler#17b40fe' of
type [org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler] while
setting bean property 'authenticationHandlers' with key [1]; nested
exception is org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class
[org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler] for bean
with name
'org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler#17b40fe'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
....
Does anyone know what would be causing this. I double checked and I made
sure I followed the instructions listed .
Thanks
--
View this message in context:
http://jasig.275507.n4.nabble.com/Question-Setting-Up-CAS-Locally-using-Maven2-WAR-Overlay-method-example-tp4655758.html
Sent from the CAS Developers mailing list archive at Nabble.com.
--
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-dev