Hi

Look at the error I receive when I start CAS after I add the Surrogate 
module:


2018-05-10 14:58:34,029 ERROR [org.springframework.boot.SpringApplication] 
- <Application startup failed>
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'surrogateAuthenticationWebflowConfiguration': 
Unsatisfied dependency expressed through field 
'handledAuthenticationExceptions'; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type 'java.util.Set<java.lang.Class<java.lang.Ex
ception>>' available: expected at least 1 bean which qualifies as autowire 
candidate. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true), 
@org.sp
ringframework.beans.factory.annotation.Qualifier(value=handledAuthenticationExceptions)}
        at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
 
~[spring-beans-4.3.14
.RELEASE.jar:4.3.14.RELEASE]

The code causing the problem is the following lines and it is in then 
SurrogateAuthenticationWebFlowConfiguration.java:
@Autowired
@Qualifier("handledAuthenticationExceptions")
private Set<Class<? extends Exception>> handledAuthenticationExceptions;




As I am a newbie in Java and Spring, what to do to correct this?


Thanks in advance

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/197e80cf-1e7e-4a04-86a3-9b893c7ddfd8%40apereo.org.

Reply via email to