0

I need to change Spring Framework from 3.2 to 3.0 what I have to put instead of using import org.springframework.web.bind.annotation.ControllerAdvice to do same work what ControllerAdvice do since this annotation @ControllerAdvice not supported by 3.0.X

trying to looking for some configuration or annotation supported by 3.0.x since I cant change to 3.2 or another any version ..I need to work with same version. any thought?

  • Have you tried Spring AOP? Writing point-cuts to include all controller http methods. Please refer to https://stackoverflow.com/questions/23607872/spring-aop-pointcut-for-all-methods-in-a-controller Alternatively aspectJ should help you – Subhash Apr 01 '22 at 15:09

0 Answers0