Hey!
We have exactly the same issue on 6.4.0-SNAPSHOT (and all release candidates that came out for 6.4.X) with the following setup:
dependencies {
[...]
compile
"org.apereo.cas:cas-server-support-mongo-ticket-registry:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-gauth-mongo:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-throttle-mongo:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-webauthn-mongo:${project.'cas.version'}"
The error we get is the following:
```
2021-07-13 19:08:27,125 ERROR
[org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter]
- <
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of method gridFsTemplate in
org.springframework.boot.autoconfigure.data.mongo.MongoDatabaseFactoryDependentConfiguration
required a single bean, but 3 were found:
- mongoDbGoogleAuthenticatorTemplate: defined in
BeanDefinition defined in class path resource
[org/apereo/cas/config/GoogleAuthenticatorMongoDbConfiguration.class]
- mongoDbTicketRegistryTemplate: defined in BeanDefinition
defined in class path resource
[org/apereo/cas/config/MongoDbTicketRegistryConfiguration.class]
- mongoWebAuthnTemplate: defined in BeanDefinition defined in
class path resource
[org/apereo/cas/config/MongoDbWebAuthnConfiguration.class]
Action:
Consider marking one of the beans as @Primary, updating the
consumer to accept multiple beans, or using @Qualifier to identify
the bean that should be consumed
>
```
Is there any workaround for this issue?
Thanks in advance,
Linos
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/669cd0f6-74c3-4fe7-9513-06ef490bf03cn%40apereo.org.