Add hibernate-validator in spring-boot-starter-web
See original GitHub issueI think it is quite common for users to want to support JSR 303 in a web application. It would be nice if the hibernate-validator was added as a dependency to support @Valid
and JSR 303
Issue Analytics
- State:
- Created 9 years ago
- Comments:24 (16 by maintainers)
Top Results From Across the Web
java - spring-boot-starter-web hibernate-validator dependency ...
If you want to use Hibernate Validator, you need to include it as explicit dependency:
Read more >Validation in Spring Boot - Baeldung
Learn how to validate domain objects in Spring Boot using Hibernate Validator, the reference implementation of the Bean Validation ...
Read more >Validation with Spring Boot - the Complete Guide - Reflectoring
A tutorial consolidating the most important features you'll need to integrate Bean Validation into your Spring Boot application.
Read more >Spring Boot validation using Hibernate validator - B2 Tech
Spring Boot validation using Hibernate validator · Create spring boot project · Add maven dependencies · Create an entity class · Create global ......
Read more >Validation in Spring Boot REST API with Hibernate Validator ...
In this tutorial, we will learn how to validation Spring boot REST API requests using Hibernate validator.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 especially if you have
compile("org.springframework.boot:spring-boot-starter-data-jpa")
as dependency.No it’s not difficult at all. With the bean def I mentioned above it’s easy and I can inject it anywhere. But it would be nice if Boot provides this bean for ‘free’. Why not?