Hi. I have set my cas server and it works fine and I want to deploy 
cas-management webapp. I built the app using maven successfully and copied 
etc folder to /etc/cas as the docs said.
But the war file cannot be deployed and below is the log:

2016-07-24 11:06:20,204 WARN 
[org.springframework.web.context.support.XmlWebApplicationContext] - 
<Exception encountered during context initialization - cancelling refresh 
attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'assertionAsReturnValuePrincipalResolver' 
defined in URL 
[jar:file:/var/lib/tomcat7/webapps/cas-services/WEB-INF/lib/cas-server-core-audit-4.2.3.jar!/org/jasig/cas/audit/spi/AssertionAsReturnValuePrincipalResolver.class]:
 
Unsatisfied dependency expressed through constructor argument with index 0 
of type [org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver]: : No 
qualifying bean of type 
[org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Qualifier(value=auditablePrincipalResolver)};
 
nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type 
[org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Qualifier(value=auditablePrincipalResolver)}>
2016-07-24 11:06:20,214 WARN 
[org.jasig.cas.services.JsonServiceRegistryConfigWatcher] - <Directory key 
is no longer valid. Quitting watcher service>
2016-07-24 11:06:20,221 ERROR 
[org.springframework.web.context.ContextLoader] - <Context initialization 
failed>

is there a jar missing or something? what should I do?!

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c459625f-9c27-4c86-af45-f1a7023a33cc%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to