Did you do right configuration for authentication manager to be included in
the WAR? You need to provide more information, this seems class load error
and mostly because its jar is not included.

On Sun, Jul 10, 2011 at 1:20 AM, Joas SE <[email protected]> wrote:

> Please i’m new in CAS, but i followed the instructions of the wiki page
> about Ldap authentication. My directory server is Openldap. When the cas
> server start up it fails with this message in the log:****
>
> ** **
>
> 2011-07-09 12:56:47,702 ERROR
> [org.jasig.cas.web.init.SafeContextLoaderListener] -
> 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.ldap.BindLdapAuthenticationHandler#1806d54' of type
> [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] while setting
> bean property 'authenticationHandlers' with key [0]; nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Error
> loading class [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler]
> for bean with name
> 'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1806d54' defined
> in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: problem
> with class file or dependent class; nested exception is
> java.lang.NoClassDefFoundError:
> org/springframework/beans/factory/InitializingBean****
>
> ** **
>
> Please any idea?****
>
> thanks****
>
> --
> 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

Reply via email to