Hi,
from cas-overlay-template 7.2.0-RC2 , server does not start, I've got an issue with compatible versions of the classes com.redis.lettucemod.StatefulRedisModulesConnectionImpl and io.lettuce.core.StatefulRedisConnectionImpl
regards,
I'm using "redis for everything", here is the context :
cas version=7.2.0-RC2
implementation "org.apereo.cas:cas-server-support-redis-ticket-registry"
implementation "org.apereo.cas:cas-server-support-redis-service-registry"
implementation "org.apereo.cas:cas-server-support-gauth-redis"
implementation "org.apereo.cas:cas-server-support-webauthn-redis"
implementation "org.apereo.cas:cas-server-support-trusted-mfa-redis"
log error :
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.redis.lettucemod.StatefulRedisModulesConnectionImpl.<init>(StatefulRedisModulesConnectionImpl.java:41)
The following method did not exist:
'void io.lettuce.core.StatefulRedisConnectionImpl.<init>(io.lettuce.core.RedisChannelWriter, io.lettuce.core.protocol.PushHandler, io.lettuce.core.codec.RedisCodec, java.time.Duration)'
The calling method's class, com.redis.lettucemod.StatefulRedisModulesConnectionImpl, was loaded from the following location:
jar:file:/opt/tomcat/webapps/cas/WEB-INF/lib/lettucemod-4.1.2.jar!/com/redis/lettucemod/StatefulRedisModulesConnectionImpl.class
The called method's class, io.lettuce.core.StatefulRedisConnectionImpl, is available from the following locations:
jar:file:/opt/tomcat/webapps/cas/WEB-INF/lib/lettuce-core-6.5.0.RELEASE.jar!/io/lettuce/core/StatefulRedisConnectionImpl.class
The called method's class hierarchy was loaded from the following locations:
io.lettuce.core.StatefulRedisConnectionImpl: file:/opt/tomcat/webapps/cas/WEB-INF/lib/lettuce-core-6.5.0.RELEASE.jar
io.lettuce.core.RedisChannelHandler: file:/opt/tomcat/webapps/cas/WEB-INF/lib/lettuce-core-6.5.0.RELEASE.jar
Action:
Correct the classpath of your application so that it contains compatible versions of the classes com.redis.lettucemod.StatefulRedisModulesConnectionImpl and io.lettuce.core.StatefulRedisConnectionImpl