![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot cache
qq_41693851
这个作者很懒,什么都没留下…
展开
-
org.springframework.data.redis.serializer.SerializationException: Cannot serialize(解决redis存入对象序列化)
问题:在使用redisTemplate.opsForValue().set("emp",employee); 时,出现对象序列化错误。org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed t原创 2020-06-23 01:41:32 · 1765 阅读 · 0 评论 -
java.net.ConnectException: Connection refused: no further information(缓存-@Cacheable异常)
在配置springboot缓存时,出现如下错误信息java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_161] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1原创 2020-06-22 23:26:39 · 2435 阅读 · 1 评论