Skip to content

it is easy to cause class loading conflicts #118

Description

@PeppaO

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions