Skip to content
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

Bean validation with Spring Boot: validation starter is not included in the web starter #114

Open
little-pinecone opened this issue Sep 18, 2021 · 1 comment

Comments

@little-pinecone
Copy link

The issue refers to the Validation with Spring Boot - the Complete Guide post, section Using the Spring Boot Validation Starter.

I was following the post to implement validation in my Spring Boot v.2.5.4 project that uses solely spring-boot-starter-web. It turned out that the validation starter does not come for free with the web starter. In fact, I had to manually add the spring-boot-starter-validation dependency to my pom.xml file.

I checked the build.gradle file for this project and the validation starter is also explicitly added.

Could you verify this and amend the post?

@little-pinecone
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant