当前位置:网站首页>异常记录-10
异常记录-10
2022-04-23 06:01:00 【week@eight】
异常类名
java.lang.IllegalArgumentException
描述
SimpleMessageConverter only supports String, byte[] and Serializable payloads, received: net.weekeight.message.MyMessage
问题原因
实体类没有序列化,消息体中必须可序列化
解决方案
将对象实现序列化
异常重现
已复现
版权声明
本文为[week@eight]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_43431735/article/details/124216576
边栏推荐
猜你喜欢
随机推荐
file_get_contents 访问 ssl 错误的两种解决方法
fdfs启动
Sum (if) in MySQL_ Sum (if ()) in MySQL
2021-09-18
LeetCode刷题|13罗马数字转整数
redis 实践笔记和源码分析
Imitation scallop essay reading page
阅读笔记:FedGNN: Federated Graph Neural Network for Privacy-Preserving Recommendation
如何通过dba_hist_active_sess_history分析数据库历史性能问题
Binary sum of leetcode questions
Leetcode integer plus one
PHP 无限极分类和树形
Leak detection and vacancy filling (III)
Number of stair climbing methods of leetcode
Oracle Net Service:监听器与服务名解析方法
【不积跬步无以至千里】MySQL报大量unauthenticated user连接错误
LeetCode刷题|897递增顺序搜索树
rdma 编程详解
你应该知道的 JVM 基础知识
[MySQL basics] startup options and configuration files








