We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
在agent包里使用JSON.toJSONString()报异常 : Could not initialize class com.alibaba.fastjson2.JSONFactory
写一个agent项目, 依赖加入fastjson2-2.0.53, 然后打包(使用maven-shade-plugin重命名或者不重命令都一样的问题). 在其他工程使用-javaagent:此包启动, 然后在JSON.toJSONString()方法报上面的异常. 使用gson或者jackson正常.
-javaagent:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
在agent包里使用JSON.toJSONString()报异常 :
Could not initialize class com.alibaba.fastjson2.JSONFactory
环境信息
重现步骤
写一个agent项目, 依赖加入fastjson2-2.0.53, 然后打包(使用maven-shade-plugin重命名或者不重命令都一样的问题).
在其他工程使用
-javaagent:
此包启动, 然后在JSON.toJSONString()方法报上面的异常.使用gson或者jackson正常.
The text was updated successfully, but these errors were encountered: