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

it is easy to cause class loading conflicts #118

Open
PeppaO opened this issue Aug 31, 2024 · 0 comments
Open

it is easy to cause class loading conflicts #118

PeppaO opened this issue Aug 31, 2024 · 0 comments

Comments

@PeppaO
Copy link

PeppaO commented Aug 31, 2024

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

For example, when hessian 4.0.63 and sofa-hessian 4.0.3 exist in the same project, an error is reported
Caused by: java.lang.InstantiationException: com.caucho.hessian.io.StackTraceElementDeserializer
at java.lang.Class.newInstance(Class.java:427)
at com.caucho.hessian.io.ContextSerializerFactory.init(ContextSerializerFactory.java:322)
... 22 common frames omitted
Caused by: java.lang.NoSuchMethodException: com.caucho.hessian.io.StackTraceElementDeserializer.()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 23 common frames omitted
<==

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment:

  • Project Version [e.g. SOFA-RPC 1.0.0] :
  • Language Version (e.g. Go 1.13):
  • OS version (e.g. uname -a):
  • IDE version:

Additional context

Add any other context about the problem here.

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