-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring-boot-starter-validation 2.5.0 is not working with hibernate-validator 7.0.1.Final #26705
Comments
Spring Boot will support the jakarta namespace as soon as Spring Framework supports it. |
springboot 2.5.0 support for hibernate-validator 6.2.0.final, just change the hibernate-validator version in dependency to make validation work again |
haha i came back to here because today i did another update-check for my app :) for hibernate-validator 6.2.0.final I have a vulnerable findings ... so thats why I need a newer version. |
I am not aware of a CVE in |
There were false positives on reports for CVE-2020-10693, but it seems detection is now fixed. Is that the CVE you're referring to? |
@bclozel yes this was my CVE ... works now. |
I try to combine
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
I guess because of the name changes in hibernate-validator (I'm not sure since when) ... the service name is now this:
/META-INF/services/jakarta.validation.spi.ValidationProvider
Spring is searching for
META-INF/services/javax.validation.spi.ValidationProvider
Would it be an idea to have support for both?
The text was updated successfully, but these errors were encountered: