一、该问题的重现步骤是什么?
BladeX-Biz业务工程启动redis报错 修改appName重新启动又可以。 每次都要改下名称,启动成功再改回来
报错信息:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method bladeRedis in org.springblade.core.redis.config.RedisTemplateConfiguration required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
The following candidates were found but could not be injected:
- Bean method 'redisTemplate' in 'RedisTemplateConfiguration' not loaded because @ConditionalOnMissingBean (names: redisTemplate; SearchStrategy: all) found beans named redisTemplate
Action:
Consider revisiting the entries above or defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration.
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
2.8.1.RELEASE版本
扫一扫访问 Blade技术社区 移动端