Uploaded image for project: 'BVal'
  1. BVal
  2. BVAL-167

ConstraintDeclarationException: Illegal strengthening: overridden [constraints] in inheritance hierarchy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • None
    • None

    Description

      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 is thrown; I have read about such exception, but it seems to me that the mentioned methods in interface and implementation 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilgrosso Francesco Chicchiriccò
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: