2020
10-10
10-10
解决SpringBoot中使用@Async注解失效的问题
错误示例,同一个类中使用异步方法:packagecom.xqnode.learning.controller;importcom.fasterxml.jackson.core.JsonProcessingException;importorg.springframework.scheduling.annotation.Async;importorg.springframework.web.bind.annotation.GetMapping;importorg.springframework.web.bind.annotation.RequestMapping;importorg.springframework.web.bind.annotation.RestController;importjava.util.HashMap;import...
继续阅读 >