Skip to content

BUG REPORT: NoClassDefFoundError: java/sql/Xxx #1537

@DragonKnightOfBreeze

Description

@DragonKnightOfBreeze

Please consider using try...catch exp with code in that relates to java.sql.Xxx,
like java.sql.Date,java.sql.Time.
Otherwise, it will show NoClassDefFoundError sometimes.
Eg: use Gson by a kotlin script

//line 265 in Gson.java
//The following code should surround with try catch.

factories.add(TimeTypeAdapter.FACTORY);
factories.add(SqlDateTypeAdapter.FACTORY);

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