Following CAS Infinispan
doc
Have depenedency and config in place ... included inifinispan.xml too.
Maybe a conflict in library or has not been testing/supported any longer?
Generating the following error on startup:
2022-09-23 00:28:55,277 WARN [org.apereo.cas.web.CasWebApplicationContext] - <Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.ticketRegistry' defined in class path resource [org/apereo/cas/ticket/registry/config/InfinispanTicketRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apereo.cas.ticket.registry.TicketRegistry]: Factory method 'ticketRegistry' threw exception; nested exception is java.lang.IllegalStateException: @Bean method InfinispanTicketRegistryConfiguration.cacheManager called as bean reference for type [org.infinispan.manager.EmbeddedCacheManager] but overridden by non-compatible bean instance of type [org.springframework.cache.caffeine.CaffeineCacheManager]. Overriding bean of same name declared in: class path resource [org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.class]>
-psv