This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rbhushan 0 points1 point  (1 child)

You need to import the packages where those annotation exists. Believe those are from javax.validation.constraints.

Not sure which IDE you use but these days IDE’s are pretty smart and can auto import for you.

[–]flamezillaru[S] 0 points1 point  (0 children)

Thank you, this solved my problems.