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.