为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我的jedis.setex(key.getBytes(),timeout,bytes)返回null

为什么我的jedis.setex(key.getBytes(),timeout,bytes)返回null

正在回答

3 回答

为什么我的报这个错

0 回复 有任何疑惑可以回复我~

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisDao' defined in class path resource [spring/spring-dao.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.seckill.dao.cache.RedisDao]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/dyuproject/protostuff/MapSchema$MessageFactory

0 回复 有任何疑惑可以回复我~

找到原因了 redis执行 CONFIG SET protected-mode no

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

为什么我的jedis.setex(key.getBytes(),timeout,bytes)返回null

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信