Skip to content

Cannot use java.util.Date #1197

@und3rs

Description

@und3rs

My data has some fileds that type is 'java.util.Date'.
When I run my App, I faced the following error.

Invalid Cloneable interface type - interface does not expose any fields.

[application.properties]
graphql.packages=com.myproject.graphql,java.util,kotlin

I've checked the java.util.Data class and like this.
public class Date implements Serializable, Cloneable, Comparable<Date> {

Please help me.
Thank you.

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