问题描述:
org.springframework.dao.InvalidDataAccessApiUsageException: DENIED Redis is running in protected
mode because protected mode is enabled
问题原因:
启动redis时,默认以保护模式运行,需要将保护模式关闭
解决方法:
1.修改redis.conf文件,修改:protected-mode no
2.启动redis,./redis-server redis.conf
org.springframework.dao.InvalidDataAccessApiUsageException: DENIED Redis is running in protected
mode because protected mode is enabled
问题原因:
启动redis时,默认以保护模式运行,需要将保护模式关闭
解决方法:
1.修改redis.conf文件,修改:protected-mode no
2.启动redis,./redis-server redis.conf