hopefully a simple question
Scott Battaglia
scott.battaglia at gmail.com
Thu Sep 6 22:49:45 EDT 2007
Roger,
It appears you are missing the person-directory library which is odd as it
should be a dependency of the webapp. Can you check the dependencies of the
web app in the pom.xml to see if the person directory dependency is there?
-Scott
On 9/6/07, Roger Studner <rstudner at gmail.com> wrote:
>
> 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
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070906/8f9a4a30/attachment.html
More information about the cas
mailing list