Spring AOP Annotation not working
<p>I have following aspect class:</p>

<pre><code>@Component
@Aspect
public class LoggedRequestAspect {

    private static final Logger LOG = LoggerFactory.getLogger(LoggedRequestAspect.class);

    @Before("com.application.aspect.pointcut.LoggedRequestPointCut.LogRequest()")
    public void logRequest(){
        System.out.println("Method Executed!");
        LOG.debug("Method Executed!");
    }
}
</code></pre>

<p>And for Annotation class:</p>

<pre><code>@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface LoggedRequest {
}
</code></pre>

<p>And finally pointcut:</p>

<pre><code>public class LoggedRequestPointCut {

    @Pointcut("execution(@com.application.aspect.annotation.LoggedRequest * *(..))")
    public void LogRequest(){}

}
</code></pre>

<p>Now for sure, I have annotated the required api method in my controller:</p>

<pre><code>...
    @LoggedRequest
    @RequestMapping(value = "/login", method = { RequestMethod.POST })
    public @ResponseBody Map&lt;String, Object&gt; login(/* Param List*/){

...
    }
</code></pre>

<p>As suggested by many other answers on SO. I have added following to my spring configuration:</p>

<pre><code>&lt;context:annotation-config/&gt;
...
&lt;context:component-scan base-package="com.application.core"/&gt;
...
&lt;aop:aspectj-autoproxy /&gt;
</code></pre>

<p>Now All this is not working. I mean on my API call of <code>/login</code> the required advice is not executing.</p>