springboot註解實現異步調用時no bean of type TaskExecutor and no bean named 'taskExecutor' either

在使用springboot 註解@Async 實現異步調用時。 啓動類:java @EnableAsync//啓動異步 public class JtaAtomikosApp { public static void main(String[] args){ SpringApplication.run(JtaAtomikosApp.class,args); }
相關文章
相關標籤/搜索