Hi,
We have been trying to implement CAS 5.1.2 in our project through overlay
approach. (https://github.com/apereo/cas-overlay-template). on successful
build we deployed CAS.war in tomcat v8. However, it failed due to below
mentioned error. please assist us to resolve this issue. Thanks.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.apereo.cas.web.flow.resolver.InitialAuthenticationAttemptWebflowEventResolver]:
Constructor threw exception; nested exception is
java.lang.NoSuchMethodError:
org.apereo.cas.authentication.DefaultAuthenticationSystemSupport: method
<init>()V not found
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
... 44 more
Caused by: java.lang.NoSuchMethodError:
org.apereo.cas.authentication.DefaultAuthenticationSystemSupport: method
<init>()V not found
at
org.apereo.cas.web.flow.resolver.AbstractCasWebflowEventResolver.<init>(AbstractCasWebflowEventResolver.java:81)
~[cas-server-core-webflow-5.0.0.M1.jar:5.1.2]
at
org.apereo.cas.web.flow.resolver.InitialAuthenticationAttemptWebflowEventResolver.<init>(InitialAuthenticationAttemptWebflowEventResolver.java:38)
~[classes/:5.1.2]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) ~[?:1.8.0_131]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
~[?:1.8.0_131]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
~[?:1.8.0_131]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
~[?:1.8.0_131]
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
... 44 more
Regards,
Satheesh.K
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/3fb2217f-25be-417f-a825-f0503e170544%40apereo.org.