Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-07-08 11:34:24.403 ERROR 11284 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
The bean 'stringRedisTemplate', defined in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/byjz/ia/commons/redis/RedisConfig.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Disconnected from the target VM, address: '127.0.0.1:62886', transport: 'socket'
Process finished with exit code 1