1:因为部分数据压在application中,定时运行quarz去把数据放到application中。
web.xml里加个
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
web.xml里加个
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
ServletContext=ContextLoader.getCurrentWebApplicationContext().getServletContext()
Quartz定时任务与Spring集成
867

被折叠的 条评论
为什么被折叠?



