At first blush, it appears that you did not put the cas-server-integration-ehcache-3.5.2.jar file properly onto the classpath. You would want to put the jar files into "WEB-INF/lib" and ensure it that the files are readable by whatever user your servlet container runs under.
David Ohsie Software Architect EMC Corporation > -----Original Message----- > From: Viviana [mailto:[email protected]] > Sent: Friday, May 31, 2013 12:31 PM > To: [email protected] > Subject: Re:[cas-user] EhCache Compilation Error > > Hello, > > I found your post while trying to configure EhCache for ticketRegistry, and I > would really appreciate if you could shed some light on the issue I'm facing. > I've been trying to follow the instructions on the wiki also. > I placed ehcache-replicated.xml on WEB_INF/classes I did replace the the > ticketRegistry file and added ehcache-core-2.6.0.jar and cas-server- > integration-ehcache-3.5.2.jar, > > Then when I start tomcat I get the following error: > > 2013-05-31 09:56:29,752 ERROR > [org.springframework.web.context.ContextLoader] - <Context initialization > failed> > org.springframework.beans.factory.CannotLoadBeanClassException: > Cannot find class [org.jasig.cas.ticket.registry.EhCacheTicketRegistry] > for bean with name 'ticketRegistry' defined in ServletContext resource > [/WEB-INF/spring-configuration/ticketRegistry.xml]; > nested exception java.lang.ClassNotFoundException: > org.jasig.cas.ticket.registry.EhCacheTicketRegistry > at > org.springframework.beans.factory.support.AbstractBeanFactory.resolveBe > anClass > (AbstractBeanFactory.java:1262) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanF > actory. > predictBeanType(AbstractAutowireCapableBeanFactory.java:576) > > > I don't understand what I'm missing, looks like it is something obvious. > Thank you ! > > Viviana. > > > -- > You are currently subscribed to [email protected] as: > [email protected] To unsubscribe, change settings or access archives, > see http://www.ja-sig.org/wiki/display/JSG/cas-user
smime.p7s
Description: S/MIME cryptographic signature
