java.lang.IllegalArgumentException: ShallowEtagResponseWrapper not found


If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Async calling rest service with rest-assured
    via Stack Overflow by riso
  • Spring Boot test class wont inject beans
    via Stack Overflow by rayman
  • Spring file upload by ajax
    via Stack Overflow by kris14an
  • mybatis + spring failed to start
    via by Hain Bach,
    • java.lang.IllegalArgumentException: ShallowEtagResponseWrapper not found at org.springframework.util.Assert.notNull([spring-core-3.2.0.M2.jar:3.2.0.M2] at org.springframework.web.filter.ShallowEtagHeaderFilter.updateResponse([spring-web-3.2.0.M2.jar:3.2.0.M2] at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal([spring-web-3.2.0.M2.jar:3.2.0.M2] at org.springframework.web.filter.OncePerRequestFilter.doFilter([spring-web-3.2.0.M2.jar:3.2.0.M2]

    Users with the same issue

    osvzs2 times, last one,
    odd2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    mauritius1 times, last one,
    189 more bugmates