Hibernate docs still reference MyConstraintDefinitionContributor which was removed in 5.3
Hibernate Validator 5.2 introduced a
ConstraintDefinitionContributor class "for the contribution of custom constraint validator instances". This class appears to have been removed in 5.3.
However, the reference guide still references this removed class name:
However, there is also a purely regular expression based version available which can be configured using a ConstraintDefinitionContributor:
Using the programmatic constraint declaration API to register a regular expression based constraint definition for @URL