Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jjjasper opened this issue Feb 14, 2024 · 0 comments
Open

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

jjjasper opened this issue Feb 14, 2024 · 0 comments
Assignees

Comments

@jjjasper
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant