title: Spring Boot @EnableTransactionManagement(mode = AdviceMode.ASPECTJ) dont work
body: <p>When i try to use:</p>
  
  <pre><code>@EnableTransactionManagement(mode = AdviceMode.ASPECTJ)
  </code></pre>
  
  <p>transaction not working, but if i use </p>
  
  <pre><code>@EnableTransactionManagement(mode = AdviceMode.PROXY)
  </code></pre>
  
  <p>everything works fine.</p>
  
  <p>My code:</p>
  
  <p>SpringBootAplication</p>
  
  <pre><code>@SpringBootApplication
  @EnableScheduling
  @EnableTransactionManagement(mode = AdviceMode.ASPECTJ)
  @EnableLoadTimeWeaving(aspectjWeaving = EnableLoadTimeWeaving.AspectJWeaving.ENABLED)
  public class SpringBootAplication
  {
      private static ConfigurableApplicationContext applicationContext;
  
  
      public static void main(String[] args)
      {              System.out.println(InstrumentationLoadTimeWeaver.isInstrumentationAvailable());
          applicationContext = SpringApplication.run(SpringBootAplication.class, args);
      }
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>@RestController
  public class MyController
  {
      @Autowired
      MyRepository repository;
  
      @Transactional
      @RequestMapping(value = "/", method = RequestMethod.GET)
      public void test()
      {
          repository.findById("name");
          System.out.println(TransactionAspectSupport.currentTransactionStatus());
      }
  }
  </code></pre>
  
  <p>Also i have a VM options: -javaagent:"spring-instrument-5.1.2.RELEASE.jar" for ASPECTJ.</p>
  
  <p>And this is exception which i accept when try to get current transaction.</p>
  
  <pre><code>org.springframework.transaction.NoTransactionException: No transaction aspect-managed TransactionStatus in scope
  </code></pre>
  
  <p>Also my depend</p>
  
  <pre><code>implementation('org.springframework.boot:spring-boot-starter-data-jpa')
  implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
  implementation 'org.springframework.boot:spring-boot-starter-web'
  implementation("org.springframework.boot:spring-boot-starter-websocket")
  implementation('org.springframework.boot:spring-boot-starter-security')
  implementation("org.springframework.boot:spring-boot-devtools")
  </code></pre>