Wrong module and package. v 4.0.0 has the 
org.jasig.cas.authentication.AcceptUsersAuthenticationHandler in the 
'cas-server-core’ module. But more generally, v 4.0,0 is pretty old, so I’d 
suggest moving into the latest version of CAS.

Cheers,
D.

> On Oct 13, 2016, at 3:14 PM, Xin Gong <xingon...@gmail.com> wrote:
> 
> Hi,
> 
> I have tried to set up cas server. I have added this for 
> AcceptUsersAuthenticationHandler to pom.xml 
> <dependency>
>       <groupId>org.jasig.cas</groupId>
>       <artifactId>cas-server-support-generic</artifactId>
>       <version>4.0.0</version>
> </dependency>
> 
> After I reboot tomcat container, I see cas-server-support-generic-4.0.0.jar 
> under $TOMCAT_HOME/webapps/cas-server-webapp-4.0.0/WEB-INF/lib.
> 
> However, there is an error in catalina.out;
> 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'scheduler' defined in ServletContext resource 
> [/WEB-INF/spring-configuration/applicationContext.xml]: Invocation of init 
> method failed; nested exception is 
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
> class [org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler] for 
> bean with name 
> 'org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler#0' defined 
> in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested 
> exception is java.lang.ClassNotFoundException: 
> org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler
> 
> Thank you for help!
> 
> Xin
> 
> -- 
> CAS gitter chatroom: https://gitter.im/apereo/cas 
> <https://gitter.im/apereo/cas>
> CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html 
> <https://apereo.github.io/cas/Mailing-Lists.html>
> CAS documentation website: https://apereo.github.io/cas 
> <https://apereo.github.io/cas>
> CAS project website: https://github.com/apereo/cas 
> <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 cas-user+unsubscr...@apereo.org 
> <mailto:cas-user+unsubscr...@apereo.org>.
> To post to this group, send email to cas-user@apereo.org 
> <mailto:cas-user@apereo.org>.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ 
> <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/ca2f8002-57a1-40cd-acac-173fea1c6264%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ca2f8002-57a1-40cd-acac-173fea1c6264%40apereo.org?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/a/apereo.org/d/optout 
> <https://groups.google.com/a/apereo.org/d/optout>.

-- 
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 cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
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/78915F83-49EA-45D5-B5D3-1A35F169B489%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to