1:在xml配置文件中添加如下配置
xmlns:task="http://www.springframework.org/schema/task"和
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-4.3.xsd
定时任务类:
1:在xml配置文件中添加如下配置
xmlns:task="http://www.springframework.org/schema/task"和
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-4.3.xsd
定时任务类: