Skip to content

java.lang.NoClassDefFoundError: com/google/gson/JsonParseException while using Java SDK 12.2.2 #382

Description

@sreekanth25123

Describe the bug

Getting an issue with gson class not found by using java sdk
detailed exception is here Exception in thread "main" java.lang.NoClassDefFoundError: com/google/gson/JsonParseException
at io.getunleash.repository.FeatureRepositoryImpl.(FeatureRepositoryImpl.java:28)
at io.getunleash.EngineProxyImpl.(EngineProxyImpl.java:38)
at io.getunleash.DefaultUnleash.defaultToggleRepository(DefaultUnleash.java:42)
at io.getunleash.DefaultUnleash.(DefaultUnleash.java:46)

Steps to reproduce the bug

No response

Expected behavior

No response

Logs, error output, etc.

Screenshots

No response

Additional context

No response

Unleash version

No response

Subscription type

No response

Hosting type

No response

SDK information (language and version)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    ext. contrib. / awaiting response

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions