Netty接收信息出错:An exceptionCaught() event was fired, and it reached at the tail of the pipeline.

2023年10月25日 1109点热度 0人点赞 0条评论

Netty接收信息出错:io.netty.channel.DefaultChannelPipeline : An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
com.alibaba.fastjson.JSONException: syntax error, pos 2, line 1, column 3[object Object]

一般是处理信息出错,特别是序列化问题。
前端传值的时候应该使用:

支付 ¥2.99 购买本节后解锁剩余34%的内容

小小调酒师

此刻打盹,你将做梦; 此刻学习,你将圆梦。 个人邮箱:shellways@foxmail.com

文章评论