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: