java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Spring JIRA | Chris Tosspon | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.String

      at org.springframework.mock.web.MockHttpServletResponse.setSpecialHeader()
    2. Spring TestContext
      MockHttpServletResponse.setSpecialHeader
      1. org.springframework.mock.web.MockHttpServletResponse.setSpecialHeader(MockHttpServletResponse.java:513)
      1 frame