-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]2.0.26序列化MybatisPlus的 AbstractWrapper时报 java.lang.NoClassDefFoundError: IllegalName #1290
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.27-SNAPSHOT/ |
您好 咨询一下,这是在做录制回放的参数序列化? 没有考虑迁移到JSONB吗? |
@ShiningXu 是的在我司做写录制和回放相关,fastjson序列化这方面产生了不少坑。jsonb虽然能压缩数据提高传输效率,但目前遇到主要的问题,除了适配各种Enum,大小写,类型之类的业务匹配问题以外,比较严重的是序列化一些大的对象造成业务系统问题,fj是从1踩到2,各种oom/stackoverflow之类都趟过了 。 |
握个抓,和我们一模一样的历程😆。试用下来发现hessian的兼容性真的好,我们想跳过JSON,趟一下JSONB的坑,提升一下性能,但发现问题还是太多了,每个插件都要单独定制测试。 留个联系方式吧,有时间可以交流下~ |
@ShiningXu wx: jojo_jas |
我的微信 wenshaojin |
经测试,最新FieldBase情况下 |
问题描述
2.0.26序列化MybatisPlus的 AbstractWrapper时报 java.lang.NoClassDefFoundError: IllegalName
环境信息
请填写以下信息:
MyBatis Plus mybatis-plus-core:3.4.2
重现步骤
com.baomidou.mybatisplus.core.override.MybatisMapperMethod#execute 的 第二个入参数 Object args[]
JSONWriter配置
JSONWriter.Feature.FieldBased,
JSONWriter.Feature.IgnoreNonFieldGetter,
JSONWriter.Feature.IgnoreErrorGetter,
JSONWriter.Feature.WriteNonStringKeyAsString,
JSONWriter.Feature.WriteByteArrayAsBase64,
JSONWriter.Feature.ReferenceDetection
期待的正确结果
之前的版本并没有这个报错
相关日志输出
The text was updated successfully, but these errors were encountered: