title: Spring is not hitting ControllerAdvice in integration tests
body: <p>I have <code>webAppContextSetup</code> through which I set the application context.  Some answers suggest the <code>standaloneSetup</code> that has a setter to add my ControllerAdvice class. </p>
  
  <p>I tried other answers where some had suggested to add ComponentScan to test config. However that didn't work for me. </p>
  
  <p>While debugging the test the code doesn't hit the handler. But when I check the UAT logs the handler is hit. </p>
  
  <p>Can someone please help? I'm on my mobile so couldnt add code. This is not a Spring Boot application. </p>