1.在SpringMVC配置文件servlet-context.xml中添加
xmlns:task="http://www.springframework.org/schema/task"
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-3.2.xsd
配置任务扫描
<task:annotation-driven/>
1.在SpringMVC配置文件servlet-context.xml中添加
xmlns:task="http://www.springframework.org/schema/task"
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-3.2.xsd
配置任务扫描
<task:annotation-driven/>
本文标题:spring mvc配置 计时任务
本文链接:https://www.haomeiwen.com/subject/xfixeftx.html
网友评论