Recently added spring-boot-starter-validation to my project and it stopped starting. In stacktrace I found a problem with jboss logging and after some investigation I found that hibernate is the problem.
Dependency:
org.springframework.boot:spring-boot-starter-validation:3.1.1
\--- org.hibernate.validator:hibernate-validator:8.0.0.Final
I had to exclude hibernate-validator, because version 8 does not work. Then I added the version from release note:
org.hibernate.validator:hibernate-validator:6.2.5.Final
\--- jakarta.validation:jakarta.validation-api:2.0.2
Now it includes an old version of jakarta.validation-api... so I had to manually add jakarta.validation-api:3.0.2 to use annotations again.
It was very difficult to find the error because of the first error with jboss logging.
Please use working dependency version.