java.lang.IllegalStateException: No executor qualifier specified and no default executor set on AnnotationAsyncExecutionAspect either

Spring JIRA | Janning Vygen | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    No executor qualifier specified and no default executor set on AnnotationAsyncExecutionAspect either

    at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.determineAsyncExecutor()
  2. Spring AOP
    AsyncExecutionAspectSupport.determineAsyncExecutor
    1. org.springframework.aop.interceptor.AsyncExecutionAspectSupport.determineAsyncExecutor(AsyncExecutionAspectSupport.java:104)
    1 frame
  3. Spring Aspects
    AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3e
    1. org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3e(AbstractAsyncExecutionAspect.aj:60)
    1 frame