Recently I have migrated my springBoot application from gradle 5 to 7 and upgraded Sprint Boot version to 2.3.0.
I am getting below error at the time of compilation using gradle build:
error: package javax.validation.constraints does not exist
I have added implementation ‘org.springframework.boot:spring-boot-starter-validation’ in my build file, but no luck. Still getting same error.
Please help. Thanks!