Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-5118

Warning RESTEASY002142 in log when enter account management

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0.CR1
    • Fix Version/s: 3.4.0.CR1
    • Component/s: None
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      VERIFIED

      Description

      There is

      WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-20) RESTEASY002142: Multiple resource methods match request "GET /realms/master/account". Selecting one. Matching methods: [public javax.ws.rs.core.Response org.keycloak.services.resources.AccountService.accountPageJson(), public javax.ws.rs.core.Response org.keycloak.services.resources.AccountService.accountPage()] 

      in log when account management page (http://localhost:8080/auth/realms/master/account/) is accessed.

      The problem is that there are two methods which fits "Accept" header.

      The header is

      text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8

      "text/html" and "*/*" fits to both.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stianst Stian Thorgersen
                  Reporter:
                  vramik Vlasta Ramik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: