hopefully a simple question

Roger Studner rstudner at gmail.com
Thu Sep 6 20:35:35 EDT 2007


Trying to make a 2 web app (1 jboss, just my machine) SSO example solution.

I'm using Spring 2.0.6 and acegi security 1.0.4.

I have Cas Server 3.1 download.

I get this error (the last few lines, most important):

org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' defined in
ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot
create inner bean
'org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver#7140a4'
of type [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
while setting bean property 'credentialsToPrincipalResolvers' with key
[0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver#7140a4'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError:
org/jasig/services/persondir/IPersonAttributeDao
Caused by:
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver#7140a4'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError:
org/jasig/services/persondir/IPersonAttributeDao
Caused by:
java.lang.NoClassDefFoundError: org/jasig/services/persondir/IPersonAttributeDao

I've search high and low for this "class" haha. and I can't even find it.

I was following both an example given by a long time CAS user... and
another example from the Acegi Security website... so I can't be that
far off :)

Thanks,
Roger S


More information about the cas mailing list