Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8598

Equal candidates for handling the current request when implementing two APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3.5
    • None
    • JAX-RS
    • None
    • Unknown

    Description

      I have a Spring Boot Application and two APIs with absolutely different methods, but one implementation class for both.
      when I'm adding implementation of the second API I received this error when requesting any of the methods.

      o.a.c.j.m.OperationResourceInfoComparatorBase - Both class#method and class#method are equal candidates for handling the current request which can lead to unpredictable results

      yes both class# method are the same in error, name of the implementation.

      I can't change topology

      Attachments

        Activity

          People

            Unassigned Unassigned
            as.gutnik Anastasiya Gutnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: