Skip to content

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

@jjjasper

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.

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