spring boot整合redis报错:Could not autowire. No beans of ‘RedisConnectionFactory‘ type found
报错:Could not autowire. No beans of 'RedisConnectionFactory' type found。报错原因:spring-boot-starter-parent的版本问题,将2.7.2的版本更换为2.6.9的版本即可。修改后刷新maven,如果报2.6.9错误,重启下idea就可以了。...
·
报错:Could not autowire. No beans of 'RedisConnectionFactory' type found
如图报错:
报错原因:spring-boot-starter-parent的版本问题,将2.7.2的版本更换为2.6.9的版本即可
修改后刷新maven,如果报2.6.9错误,重启下idea就可以了。
更多推荐
已为社区贡献2条内容
所有评论(0)