import javax.validation.constraints.NotEmpty; not working

Viewed 7802

I currently have a java/spring-boot application where I changed the version (in code) from 2.1.4 to 2.3.0 but as a result I've come across the error error: package javax.validation.constraints does not exist when trying to run a clean build - this comes from a import javax.validation.constraints.NotEmpty; line I have in my code - does anyone know how to resolve this issue to the code compiles/builds successfully?

1 Answers
Related