To display an appropriate field name, it should be defined in application-messages.properties in the following format. Hibernate Validator 5.x supports Expression Language 2.2 or higher version.
In order to explain, the method is called Method Validation in this chapter.
In the above example, libraries provided for Apache Tomcat to be embedded are specified.
API specifications classes of Expression Language and reference implementation classes are both stored in jar file of Note Points to be noted when displaying error messages in a list Error messages are output in a random order and the output order cannot be controlled by standard function.
In this case, define messages in the following format in application-messages.properties.
Other than standard check rules, bean validation has a mechanism to develop annotations for independent rules .