-
Notifications
You must be signed in to change notification settings - Fork 97
Description
APPLICATION FAILED TO START
Description:
Parameter 0 of method authStateCache in com.xkcoding.justauth.autoconfigure.JustAuthStateCacheConfiguration$Redis required a single bean, but 2 were found:
- justAuthRedisCacheTemplate: defined by method 'justAuthRedisCacheTemplate' in class path resource [com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration$Redis.class]
- stringRedisTemplate: defined by method 'stringRedisTemplate' in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.class]
This may be due to missing parameter name information
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
Ensure that your compiler is configured to use the '-parameters' flag.
You may need to update both your build tool settings as well as your IDE.
(See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x#parameter-name-retention)