Hi all,
I am trying to upgrade BVal to 2.0.0 in Syncope.

I have changed my POMs as follows:

* javax.validation:validation-api from 1.1.0.Final to 2.0.1.Final
* org.apache.bval:bval-jsr from 1.1.2 to 2.0.0

When I try to reach up some of the REST services (based on CXF 3.2), an 
exception as [1] is thrown; I have read about such exception, but it seems to 
me that the mentioned methods in interface [2] and implementation [3] should 
comply with hierarchy rules.

Nevertheless, if I swap

org.apache.bval:bval-jsr:2.0.0

with

org.hibernate.validator:hibernate-validator:6.0.13.Final

all is working fine.

Any idea?

TIA
Regards.

[1] https://paste.apache.org/hxvY
[2] 
https://github.com/apache/syncope/blob/2_1_X/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java#L70
[3] 
https://github.com/apache/syncope/blob/2_1_X/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AbstractAnyService.java#L68

Reply via email to