Skip to content
Advertisement

Tag: spring-validator

spring boot starter validation simply not working

Problem: I need to validate some json inputs and outputs in my Spring API, I’m trying to use spring boot starter validation (Already know that is not into spring-boot-starter-web, so I added it manually) but it never throws the exception when something is bad based on the validations in the DTO class (MethodArgumentNotValidException) Complete project can be fonud on github

Advertisement