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] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to