quartz是配置在a.xml中,而a.xml是被h.xml import进来的。
所以把quartz配置从a.xml移到h.xml中,重复调用2次的问题就解决了。
估计还是在spring在import a.xml时,把a.xml读了2次,所以也就创建了2遍任务。

posted on 2011-12-14 11:51  siukun  阅读(729)  评论(0编辑  收藏  举报