Skip to content
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

我已经指定了类加载器,还是报错java.lang.ClassNotFoundException #2829

Open
itqiankun opened this issue May 9, 2024 · 0 comments

Comments

@itqiankun
Copy link

[arthas@369]$ sc -d com.alibaba.fastjson.JSONObject
class-info com.alibaba.fastjson.JSONObject
code-source /acs/code/BOOT-INF/lib/fastjson-1.2.83.jar
name com.alibaba.fastjson.JSONObject
isInterface false
isAnnotation false
isEnum false
isAnonymousClass false
isArray false
isLocalClass false
isMemberClass false
isPrimitive false
isSynthetic false
simple-name JSONObject
modifier public
annotation
interfaces java.util.Map,java.lang.Cloneable,java.io.Serializable,java.lang.reflect.InvocationHandler
super-class +-com.alibaba.fastjson.JSON
+-java.lang.Object
class-loader +-org.springframework.boot.loader.LaunchedURLClassLoader@21b8d17c
+-sun.misc.Launcher$AppClassLoader@18b4aac2
+-sun.misc.Launcher$ExtClassLoader@2908e0d8
classLoaderHash 21b8d17c

Affect(row-cnt:1) cost in 32 ms.
[arthas@369]$ vmtool -x 3 -c 21b8d17c --action getInstances --className com.raycloud.zdmarketing.urge.reactor.impl.AbstractProcessor --express 'instances[1].dispose(@com.alibaba.fastjson.JSONObject@parseObject("{"type":"WAIT_BUYER_PAY","appId":100005224,"tid":"240508-041780582041760","userNick":"4532586208","putTime":1715139035536,"content":null}"))'
Failed to execute ognl, exception message: ognl.MethodFailedException: Method "parseObject" failed for object com.alibaba.fastjson.JSONObject [java.lang.ClassNotFoundException: Unable to resolve class: com.alibaba.fastjson.JSONObject], please check $HOME/logs/arthas/arthas.log for more details.
[arthas@369]$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant