I am using hibernate validator 5.0.3 with Java 1.6.0_45-b06-451 on OSX 10.9.1.
I have created a cross-parameter constraint as follows:
The above constraint is used in a method as follows:
I have configured the Annotation Processor in pom.xml
When trying to compile, the Annotation Processor reports the following error:
The annotation @CrossParameterConstraint is disallowed for the return type of this method.