fastjson2 icon indicating copy to clipboard operation
fastjson2 copied to clipboard

jdk11,springboot 采用fastjson2序列化错误

Open yushuijiang opened this issue 1 year ago • 3 comments

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.alibaba.fastjson2.util.JDKUtils WARNING: Please consider reporting this to the maintainers of com.alibaba.fastjson2.util.JDKUtils WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 使用redisTemplate取对象反序列化出错: class com.alibaba.fastjson2.JSONObject cannot be cast to class com.cn.xxx (com.alibaba.fastjson2.JSONObject and com.cn.xxx are in unnamed module of loader 'app')

yushuijiang avatar Aug 19 '22 02:08 yushuijiang

能否提供完整的可复现该问题的最小case

wsxe9988 avatar Aug 26 '22 00:08 wsxe9988

以及使用的版本号

wsxe9988 avatar Aug 26 '22 00:08 wsxe9988

这个是WANING,不影响使用,可以忽略

wenshao avatar Sep 18 '22 11:09 wenshao

fastjson 版本2.0.20 jdk版本 openjdk version "11" 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

leogorden avatar Dec 02 '22 09:12 leogorden