title: Aspect not getting called for external library in spring boot 2
body: <p>I am using Spring boot 2, need to print logs on execution of <code>org.apache.catalina.webresources.CachedResource.validateResource()</code> inside library.</p>
  
  <p>I have created the class and added the dependencies in build.gradle</p>
  
  <pre><code>@Aspect
  @Configuration
  public class LoggingCollabCustomAspect {
  
      public static final String TO_STRING_RESULT = "changed";
  
      @Pointcut("execution(* org.apache.catalina.webresources.CachedResource.validateResource(*))")
      public void loadExternalResource()
      {
      }
  
      @Around("loadExternalResource()")
      public Object showLogs(ProceedingJoinPoint joinPoint) throws Throwable
      {
          Object ignoredToStringResult = joinPoint.proceed();
          System.out.println("File changed: " + ignoredToStringResult);
          return TO_STRING_RESULT;
      }
  }
  
  </code></pre>
  
  <p>Main.java</p>
  
  <pre><code>@SpringBootApplication
  @ServletComponentScan
  @EnableAspectJAutoProxy(proxyTargetClass = true)
  public class Main
  {
  
      public static void main(String[] args)
      {
          SpringApplication.run(Main.class, args);
      }
  }
  
  </code></pre>
  
  <p>Build.gradle</p>
  
  <pre><code>compile group: 'org.springframework', name: 'spring-aop', version: '5.1.9.RELEASE'
  compile group: 'org.aspectj', name: 'aspectjweaver', version: '1.9.4'
  compile group: 'org.aspectj', name: 'aspectjrt', version: '1.9.4'
  </code></pre>
  
  <p>I expect the aspect message to be printed but its not working</p>