I am not getting message error while executing @Size annotation in spring boot bean class
@Size
below are my files pom.xml
Yes, There is issue with Spring 2.3.2 version that Size annotation will not provide proper restful response. After downgrading it to version 2.2.9 it worked as expected. It is returning proper Json with custom error message.