question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add hibernate-validator in spring-boot-starter-web

See original GitHub issue

I 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:closed
  • Created 9 years ago
  • Comments:24 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
marceloverdijkcommented, Apr 13, 2014

+1 especially if you have compile("org.springframework.boot:spring-boot-starter-data-jpa") as dependency.

0reactions
marceloverdijkcommented, May 18, 2014

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found