Skip to content

generate-spring-boot-embedded fails with format: email property. #757

Description

@jjjasper

Both hiberate and jakarta @Email annotations are imported because of wildcard import statement, resulting in

[375,21] error: reference to Email is ambiguous
[ERROR]   both class org.hibernate.validator.constraints.Email in org.hibernate.validator.constraints and class jakarta.validation.constraints.Email in jakarta.validation.constraints match

The default spring generator uses fully qualified classesname.

Activity

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

Metadata

Metadata

Assignees

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