简单两步,实现在spring boot中配置和使用定时器: 1、在入口类中加入@EnableScheduling注解:1、在入口类中加入@Enabl 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交