Go ahead and submit an issue please. I'll do some digging.
From: PBrzek [mailto:[email protected]] Sent: Friday, April 17, 2015 8:07 AM To: [email protected] Cc: [email protected] Subject: Re:[cas-dev] CAS 4.1 error on memcachedClient bean setting Currently I have the setting for cas.version set to 4.1.0-SNAPSHOT. On Friday, April 17, 2015 at 9:09:27 AM UTC-5, PBrzek wrote: Hi, Working on utilizing CAS 4., using the CAS Overlay method to create the CAS deployment, and I am running into the following error issue: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ticketRegistry' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference to bean 'memcachedClient' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memcachedClient' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference to bean 'kryoTranscoder' while setting bean property 'transcoder'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kryoTranscoder' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Initialization of bean failed; nested exception is javax.validation.ConstraintDeclarationException: HV000151: A method overriding another method must not alter the parameter constraint configuration, but method public net.spy.memcached.CachedData org.jasig.cas.ticket.registry.support.kryo.KryoTranscoder.encode(java.lang .Object) changes the configuration of public abstract net.spy.memcached.CachedData net.spy.memcached.transcoders.Transcoder.encode(java.lang.Object). upon examining the code it appears that the issue is related to additional constrain (@NotNull) put on the encode method where as this is not the case on the method it is overriding. Has anyone run into this issue and got it resolved, any suggestion are welcomed, or is this something that need to be fixed in the code? Thanks, Paul -- You are currently subscribed to [email protected] <mailto:[email protected]> as: [email protected] <mailto:jasig-cas-dev%[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to [email protected] <mailto:[email protected]> as: [email protected] <mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- 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-dev
