title: spring boot problems with aop and controller
body: <p>when i use spring boot,the aop couldn't be effective with annotation controller , how can i best do it ?</p>
  
  <pre><code>@Aspect
  @Component
  @Configuration
  public class MethodStatisticsPointcutAspect {
  
      @Resource
      private CounterService counterService;
  
      // aop defined
      @Around("@annotation(com.xxx.xxx.metrics.annotation.MethodStatistics)")
      private void around(ProceedingJoinPoint pjp) {
          // do sth
      }
  }
  </code></pre>
  
  <p>my controller defined like this:</p>
  
  <pre><code>@RestController
  @RequestMapping("/usertest")
  public class UserTestController {
  
      @RequestMapping("/test")
      @MethodStatistics
      String test() {
         // do sth
     }
  }
  </code></pre>
  
  <p>i wish to use aop manager all the methods with annotation @MethodStatistics,but it couldn't work with @controller at all~</p>