PPLICATION FAILED TO START
***************************

Description:

Method requestedContextValidator in 
org.apereo.cas.config.CasCoreMultifactorAuthenticationConfiguration 
required a bean of type 
'org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy'
 
that could not be found.


Action:

Consider defining a bean of type 
'org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy'
 
in your configuration.
>
20-Nov-2020 15:42:36.929 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.ContainerBase.addChildInternal 
ContainerBase.addChild: start: 
    org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-management]]
        at 
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
        at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970)
        at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1840)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'requestedContextValidator' defined in class 
path resource 
[org/apereo/cas/config/CasCoreMultifactorAuthenticationConfiguration.class]: 
Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apereo.cas.validation.RequestedAuthenticationContextValidator]: 
Factory method 'requestedContextValidator' threw exception; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type 
'org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy'
 
available: expected at least 1 bean which qualifies as autowire candidate. 
Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true), 
@org.springframework.beans.factory.annotation.Qualifier(value="defaultMultifactorTriggerSelectionStrategy")}
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656)
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:484)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:895)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
        at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
        at 
org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152)
        at 
org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132)
        at 
org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92)
        at 
org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
        at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        ... 10 more
    Caused by: org.springframework.beans.BeanInstantiationException: Failed 
to instantiate 
[org.apereo.cas.validation.RequestedAuthenticationContextValidator]: 
Factory method 'requestedContextValidator' threw exception; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type 
'org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy'
 
available: expected at least 1 bean which qualifies as autowire candidate. 
Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true), 
@org.springframework.beans.factory.annotation.Qualifier(value="defaultMultifactorTriggerSelectionStrategy")}
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
        ... 32 more
    Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type 
'org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy'
 
available: expected at least 1 bean which qualifies as autowire candidate. 
Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true), 
@org.springframework.beans.factory.annotation.Qualifier(value="defaultMultifactorTriggerSelectionStrategy")}
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1716)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1272)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.getObject(DefaultListableBeanFactory.java:1900)
        at 
org.apereo.cas.config.CasCoreMultifactorAuthenticationConfiguration.requestedContextValidator(CasCoreMultifactorAuthenticationConfiguration.java:63)
        at 
org.apereo.cas.config.CasCoreMultifactorAuthenticationConfiguration$$EnhancerBySpringCGLIB$$2af7f2f7.CGLIB$requestedContextValidator$1(<generated>)
        at 
org.apereo.cas.config.CasCoreMultifactorAuthenticationConfiguration$$EnhancerBySpringCGLIB$$2af7f2f7$$FastClassBySpringCGLIB$$96e047c1.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
        at 
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
        at 
org.apereo.cas.config.CasCoreMultifactorAuthenticationConfiguration$$EnhancerBySpringCGLIB$$2af7f2f7.requestedContextValidator(<generated>)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
        ... 33 more
20-Nov-2020 15:42:36.931 SEVERE [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web 
application archive 
[/home/aeast/Downloads/apache-tomcat-8.5.60/webapps/cas-management.war]
    java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-management]]
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
        at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970)
        at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1840)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)


Does any one have any ideas on this?  Right now I am not even trying to 
setup MFA 

Thanks.

-- 
- 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/83eadd17-7655-447a-b586-f246a46d26acn%40apereo.org.

Reply via email to