关于Error creating bean with name ‘enableRedisKeyspaceNotificationsInitializer‘ defined in class
参考自:结jie hejie hjie踩坑日记:Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class_loading-world的博客-CSDN博客jji
·
1、检查依赖
2、检查application.properties文件参数是否有误
3、是否在启动类上添加@EnableRedisHttpSession注解
4、还是启动失败检查本机是否启动了redis(我就是卡在这里)
方法:
ps axu | grep redis
还是启动失败则重启redis
redis-server /usr/local/etc/redis.conf
更多推荐
已为社区贡献1条内容
所有评论(0)