You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
实体对象
public class QueryStatisticRequest implements AbstractRequest {
//这个枚举是来源于另一个jar文件
private SubTypeEnum subType;
}
打包后调用
JSON.toJSONString(new QueryStatisticRequest())
提示NoClassDefFoundError:Lxxxxxx
后调试发现SubTypeEnum 来源于launchclassloader
而QueryStatisticRequest 来源于appclassloader
最后通过修改打包方式解决了这个问题, 好奇这是fastjson的bug吗?
The text was updated successfully, but these errors were encountered: