title: No qualifying bean of type ScheduledExecutorService | TaskScheduler
body: <p>Here is the Scheduling Configuration</p>
  
  <pre><code>@Configuration
  @EnableScheduling
  public class RWInventorySchedule {
  
  protected org.slf4j.Logger log = LoggerFactory.getLogger(RWInventorySchedule.class);
  
  @PersistenceContext
  private EntityManager entityManager;
  
  
     @Bean
     public RWInventoryProcessor constructInventoryProcessor() {
         log.debug("RWInventorySchedule constructs InventoryProcessor, entityManager : {} " , entityManager);
         return new RWInventoryProcessor(entityManager);
      }
  }
  </code></pre>
  
  <p>Inventory Processor is the following</p>
  
  <pre><code>public class RWInventoryProcessor  {
   ...
   @Scheduled(fixedRate = 5000,initialDelay = 3000)
   @Transactional
   public void runProcess() {
     ...
   }
  }
  </code></pre>
  
  <p>During execution, getting the following errors in debug log</p>
  
  <blockquote>
    <p>DEBUG
    org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor
    - Could not find default TaskScheduler bean org.springframework.beans.factory.NoSuchBeanDefinitionException: No
    qualifying bean of type 'org.springframework.scheduling.TaskScheduler'
    available
    <br><br> 
    ...<br>
    DEBUG org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor
    - Could not find default ScheduledExecutorService bean org.springframework.beans.factory.NoSuchBeanDefinitionException: No
    qualifying bean of type
    'java.util.concurrent.ScheduledExecutorService' available</p>
  </blockquote>
  
  <p>Am I missing anything </p>