Skip to content

springboot 3: ConstructorBinding does not work with kotlin primary constructor #33471

@vinh-hoang

Description

@vinh-hoang

Version: Springboot 3.0.0 the @ConstructorBinding annotation does not work with the Kotlin primary constructor.
The Annotation is written on the class itself and produces the error "This annotation is not applicable to target 'class'".

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions