I found a fix
Add this to your pom.xml file and it does resolve the issue
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>3.0.2</version>
</dependency>
Anyone knows why it works?