I am trying to configure an interceptor in my application and I am not being able to make it work.
In my application configuration class, I have configured in the follow
Maybe you should add componentscan annotation in the file where the main class is present.
@ComponentScan("package where the interceptor is placed.")
Worked for me.